diff --git a/src/components/app-navbar/index.tsx b/src/components/app-navbar/index.tsx index 5016c9215..ed93fe3ed 100644 --- a/src/components/app-navbar/index.tsx +++ b/src/components/app-navbar/index.tsx @@ -121,8 +121,8 @@ const NavbarExpanded = ({ appName, links }: NavbarProps) => { - {links.map((link, i) => ( - + {links.map((link) => ( + ))} ( useInterval(() => { const current = getLocalStorageItem(key); - if (current != state) { + if (JSON.stringify(current) != JSON.stringify(state)) { + console.log('updating state', { current, state }); setState(current); } }, 250);