Skip to content

Commit c4d19fb

Browse files
committed
simpler
1 parent 4f8c4ee commit c4d19fb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/mark.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,8 +233,7 @@ export function maybeTransform({
233233
if (s1 != null) t1 = compose(t1, sort(s1));
234234
if (r1) t1 = compose(t1, reverse);
235235
}
236-
const transform = compose(t1, t2);
237-
return transform === undefined ? options : {...options, transform};
236+
return {...options, transform: compose(t1, t2)};
238237
}
239238

240239
// Assuming that both x1 and x2 and lazy channels (per above), this derives a

0 commit comments

Comments
 (0)