Skip to content

Commit 9d977db

Browse files
committed
Fix bug in cx
1 parent 80cb1c5 commit 9d977db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/cx.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export const cx = (...args: CxArg[]): string => {
2323
break;
2424
case "object": {
2525
if (Array.isArray(arg)) {
26-
toAdd = cx(arg);
26+
toAdd = cx(...arg);
2727
} else {
2828
assert(!typeGuard<{ length: number }>(arg, false));
2929

0 commit comments

Comments
 (0)