diff --git a/components/StartPage/SectionBlock.js b/components/StartPage/SectionBlock.js index 0f588f7d..c4fc6746 100644 --- a/components/StartPage/SectionBlock.js +++ b/components/StartPage/SectionBlock.js @@ -1,4 +1,3 @@ -import Link from 'next/link' import { useRouter } from 'next/router' import Close from 'public/icons/close.svg' @@ -41,14 +40,6 @@ function SectionBlock({ showSection ? '' : 'hidden' }`} /> - {showSection && ( - e.stopPropagation()} - scroll={false} - > - )} ) } diff --git a/components/StartPage/StartPage.js b/components/StartPage/StartPage.js index 40d10652..454d43fb 100644 --- a/components/StartPage/StartPage.js +++ b/components/StartPage/StartPage.js @@ -136,13 +136,13 @@ function StartPage({ defaultContentKey = null }) { }) } } - + const mainLink = router.pathname === '/' ? `/${contentRoutes['logo']}` : '/' return ( <> - + router.replace(mainLink)}> } @@ -266,7 +266,7 @@ function StartPage({ defaultContentKey = null }) { isLogo={true} label={} /> - + {!showSections.signIn && (