diff --git a/docs/src/pages/index.js b/docs/src/pages/index.js index 3f9ffdd..c5ec65e 100644 --- a/docs/src/pages/index.js +++ b/docs/src/pages/index.js @@ -8,12 +8,7 @@ const { defaultDocsLandingPage } = config.customFields function Home() { const location = useLocation() - const defaultUrl = [ - location.pathname.replace(/\/$/, ''), - 'docs', - defaultDocsLandingPage, - ].join('/') - + ] return }