diff --git a/apps/landing/src/pages/_app.tsx b/apps/landing/src/pages/_app.tsx index 64ddf5e65..8e7af1570 100644 --- a/apps/landing/src/pages/_app.tsx +++ b/apps/landing/src/pages/_app.tsx @@ -44,7 +44,7 @@ const MyApp: NextPage = ({ Component, pageProps }) => { }, []); const canonicalUrl = React.useMemo(() => { - const path = router.pathname === "/" ? "" : router.pathname; + const path = router.asPath === "/" ? "" : router.asPath; if (router.locale === router.defaultLocale) { return absoluteUrl(path); } else {