fix(left-sidebar): check paths for valid selected icon

This commit is contained in:
RadoslavDimchev 2024-04-10 16:21:06 +03:00 committed by Radoslav Dimchev
parent bf4d8043ce
commit 46dbef0cfe
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ const LeftSidebarIconButton = ({
<IconButton
icon={iconEl}
variant={isDisabled ? 'outline' : 'ghost'}
selected={isSelected}
selected={path === window.location.pathname}
disabled={isDisabled}
/>
{isDotOn && (