fix(left-sidebar): check paths for valid selected icon
This commit is contained in:
parent
bf4d8043ce
commit
46dbef0cfe
|
@ -34,7 +34,7 @@ const LeftSidebarIconButton = ({
|
|||
<IconButton
|
||||
icon={iconEl}
|
||||
variant={isDisabled ? 'outline' : 'ghost'}
|
||||
selected={isSelected}
|
||||
selected={path === window.location.pathname}
|
||||
disabled={isDisabled}
|
||||
/>
|
||||
{isDotOn && (
|
||||
|
|
Loading…
Reference in New Issue