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 56492de commit c955290Copy full SHA for c955290
src/components/sidebar/CSidebar.tsx
@@ -151,8 +151,8 @@ export const CSidebar = forwardRef<HTMLDivElement, CSidebarProps>(
151
[`sidebar-${position}`]: position,
152
[`sidebar-self-hiding${typeof selfHiding !== 'boolean' && '-' + selfHiding}`]: selfHiding,
153
'sidebar-narrow-unfoldable': unfoldable,
154
- show: _visible,
155
- hide: !_visible,
+ show: _visible === true,
+ hide: _visible === false,
156
},
157
className,
158
)
0 commit comments