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 942d067 commit eb1d760Copy full SHA for eb1d760
src/bundle/ui-dev/src/modules/common/helpers/css.class.names.js
@@ -5,7 +5,11 @@ export const createCssClassNames = (classes) => {
5
6
return Object.entries(classes)
7
.reduce((total, [name, condition]) => {
8
- return `${total} ${condition ? name : ''}`;
+ if (condition) {
9
+ return `${total} ${name}`;
10
+ }
11
+
12
+ return total;
13
}, '')
14
.trim();
15
};
0 commit comments