Skip to content

Commit 4bb6b64

Browse files
committed
Fix isExpanded check in SidebarButton
1 parent f3d9794 commit 4bb6b64

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/components/Layout/Sidebar/SidebarButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export function SidebarButton({
5353
)}
5454
onClick={onClick}>
5555
{title}
56-
{typeof isExpanded && !heading && (
56+
{isExpanded != null && !heading && (
5757
<span className="pe-2 text-gray-30">
5858
<IconNavArrow displayDirection={isExpanded ? 'down' : 'end'} />
5959
</span>

0 commit comments

Comments
 (0)