fix clsx
This commit is contained in:
parent
0f47a5b6ba
commit
5aadeba2ec
@ -17,7 +17,7 @@ export const clsx = (...args: CxArg[]): string => {
|
||||
break;
|
||||
case "object": {
|
||||
if (Array.isArray(arg)) {
|
||||
toAdd = clsx(arg);
|
||||
toAdd = clsx(...arg);
|
||||
} else {
|
||||
assert(!typeGuard<{ length: number }>(arg, false));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user