Skip to content

Commit

Permalink
Fix active menu for LeftPanel
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrikMatiasko committed May 31, 2024
1 parent 32e64e3 commit 55c0f1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Layout/LeftPanel/LeftPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ const LeftPanel: FC<Props> = (props) => {

setToggleActive(toggleActive === item.id ? '-1' : item.id)
} else {
setToggleActive(null)
collapsed && setToggleActive(null)
isFunction(onItemClick) && onItemClick(item, e)
}
}
Expand Down

0 comments on commit 55c0f1b

Please sign in to comment.