We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e86d9a commit 914192bCopy full SHA for 914192b
packages/recipes/src/createRuntimeFn.ts
@@ -41,16 +41,14 @@ export const createRuntimeFn =
41
selection = selection === true ? 'true' : 'false';
42
}
43
44
- className += ' '.concat(
45
- // @ts-expect-error
46
- config.variantClassNames[variantName][selection],
47
- );
+ // @ts-expect-error
+ className += ' ' + config.variantClassNames[variantName][selection];
48
49
50
51
for (const [compoundCheck, compoundClassName] of config.compoundVariants) {
52
if (shouldApplyCompound(compoundCheck, selections)) {
53
- className += ' '.concat(compoundClassName);
+ className += ' ' + compoundClassName;
54
55
56
0 commit comments