Skip to content

Commit a5a644e

Browse files
committed
style(classnames): wrap to block if statement
1 parent 0892a84 commit a5a644e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Diff for: packages/classnames/classnames.tsx

+5-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,11 @@ export function classnames() {
2424
}
2525

2626
uniqueCache.add(value);
27-
if (className.length > 0) className += ' ';
27+
28+
if (className.length > 0) {
29+
className += ' ';
30+
}
31+
2832
className += value;
2933
}
3034

0 commit comments

Comments
 (0)