From d4988694c821a9296f93bd274ba9a47886b103b3 Mon Sep 17 00:00:00 2001 From: keyan Date: Thu, 1 Jun 2023 19:34:26 -0500 Subject: [PATCH] make room in header to pwa back button --- components/header.js | 14 +++++++------- components/header.module.css | 8 ++++++++ pages/_document.js | 2 +- styles/globals.scss | 2 +- 4 files changed, 17 insertions(+), 9 deletions(-) diff --git a/components/header.js b/components/header.js index 63977a39..a8d417de 100644 --- a/components/header.js +++ b/components/header.js @@ -30,7 +30,7 @@ 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()} /> + return router.back()} /> } return null } @@ -272,7 +272,7 @@ export default function Header ({ sub }) { return ( <> - + - +