diff --git a/components/header.js b/components/header.js index cce539da..64a7297d 100644 --- a/components/header.js +++ b/components/header.js @@ -29,8 +29,9 @@ function WalletSummary ({ me }) { function Back () { const router = useRouter() - if (typeof window !== 'undefined' && (typeof window.navigation === 'undefined' || window.navigation.canGoBack === undefined || window?.navigation.canGoBack)) { - return router.back()} /> + if (typeof window !== 'undefined' && router.asPath !== '/' && + (typeof window.navigation === 'undefined' || window.navigation.canGoBack === undefined || window?.navigation.canGoBack)) { + return router.back()}> } return null }