Skip to content

Commit 8549b1c

Browse files
committed
simpler
1 parent c716ef3 commit 8549b1c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/mark.js

+1-2
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)