diff --git a/src/components/Menu/Menu.tsx b/src/components/Menu/Menu.tsx index 127f2a274..43dcb75a4 100644 --- a/src/components/Menu/Menu.tsx +++ b/src/components/Menu/Menu.tsx @@ -7,7 +7,7 @@ import { Pages } from "../../types/types" function Menu({ pages = [] }: { pages: Pages }) { const router = useRouter() - const { pathname } = router + const { asPath: pathname } = router return (