mirror of
https://github.com/Dispatcharr/Dispatcharr.git
synced 2026-07-26 19:48:02 +00:00
Added a key to the nav links on the sidebar to get rid of dom error when loaded web ui.
This commit is contained in:
parent
9b66dd1139
commit
29b10607ab
1 changed files with 6 additions and 1 deletions
|
|
@ -189,7 +189,12 @@ const Sidebar = ({ collapsed, toggleDrawer, drawerWidth, miniDrawerWidth }) => {
|
|||
const isActive = location.pathname === item.path;
|
||||
|
||||
return (
|
||||
<NavLink item={item} collapsed={collapsed} isActive={isActive} />
|
||||
<NavLink
|
||||
key={item.path}
|
||||
item={item}
|
||||
collapsed={collapsed}
|
||||
isActive={isActive}
|
||||
/>
|
||||
);
|
||||
})}
|
||||
</Stack>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue