mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-17 06:00:20 +02:00
fix missing sidebar active icon
This commit is contained in:
@@ -114,10 +114,7 @@ export const Sidebar = () => {
|
||||
return (
|
||||
<SidebarItem key={`sidebar-${item.route}`} to={item.route}>
|
||||
<Group gap="sm">
|
||||
<SidebarIcon
|
||||
active={location.pathname === item.route}
|
||||
route={item.route}
|
||||
/>
|
||||
<SidebarIcon route={item.route} />
|
||||
{item.label}
|
||||
</Group>
|
||||
</SidebarItem>
|
||||
|
||||
Reference in New Issue
Block a user