Skip to content

Commit eb8dbb4

Browse files
refactor: 💡 remove unwanted ternary operator
1 parent 98d4c03 commit eb8dbb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/components/SidebarWrapper/SidebarWrapper.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ function SidebarWrapper({
6060
);
6161

6262
const props = {
63-
className: `${classNames.wrapper}${className ? " " + className : ""}`,
63+
className: `${classNames.wrapper} ${className}`,
6464
pose: open ? "open" : "close",
6565
style,
6666
open: updatedOpenAnimation,

0 commit comments

Comments
 (0)