mirror of
https://github.com/status-im/nimbus-gui.git
synced 2025-03-01 19:40:44 +00:00
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…
x
Reference in New Issue
Block a user