Browse Source

fix: update navigation on pagechange

fix/enable-imgix
Thomas Osmonson 5 years ago
parent
commit
676d397ec2
  1. 2
      src/components/side-nav.tsx

2
src/components/side-nav.tsx

@ -155,7 +155,7 @@ const Navigation = () => {
if (selected.items !== currentSection) {
setSelected({ type: 'page', items: currentSection });
}
}, []);
}, [router.pathname]);
const handleClick = (page: any) => {
if (page.pages) {

Loading…
Cancel
Save