diff --git a/pages/layout.tsx b/pages/layout.tsx index a374702..1232fed 100644 --- a/pages/layout.tsx +++ b/pages/layout.tsx @@ -10,60 +10,68 @@ const Layout = ({ children }) => { if (menuItem) { menuItem.parentElement.classList.add('search-button') } - }, [document]) + }, []) return ( <>