Skip to content

Commit 914192b

Browse files
author
Ben Jervis
authored
Undo the concat change (#418)
1 parent 2e86d9a commit 914192b

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

packages/recipes/src/createRuntimeFn.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,14 @@ export const createRuntimeFn =
4141
selection = selection === true ? 'true' : 'false';
4242
}
4343

44-
className += ' '.concat(
45-
// @ts-expect-error
46-
config.variantClassNames[variantName][selection],
47-
);
44+
// @ts-expect-error
45+
className += ' ' + config.variantClassNames[variantName][selection];
4846
}
4947
}
5048

5149
for (const [compoundCheck, compoundClassName] of config.compoundVariants) {
5250
if (shouldApplyCompound(compoundCheck, selections)) {
53-
className += ' '.concat(compoundClassName);
51+
className += ' ' + compoundClassName;
5452
}
5553
}
5654

0 commit comments

Comments
 (0)