From 6c76053e1531f4990b31be02374d5d4c9bda96c2 Mon Sep 17 00:00:00 2001 From: Justin Edmund Date: Fri, 27 Jan 2023 22:12:35 -0800 Subject: [PATCH] Fixed link to new party --- components/Header/index.tsx | 19 ++++++++----------- 1 file changed, 8 insertions(+), 11 deletions(-) diff --git a/components/Header/index.tsx b/components/Header/index.tsx index d2d8ed4c..b5b18e18 100644 --- a/components/Header/index.tsx +++ b/components/Header/index.tsx @@ -158,7 +158,6 @@ const Header = () => { let hasAccessory = false const path = router.asPath.split('/')[1] - console.log(router.asPath.split('/')) if (path === 'p') { hasAccessory = true if (appState.party && appState.party.name) { @@ -359,11 +358,10 @@ const Header = () => { <> - handleNewParty(e, '/new')} - href="/new" - > - New party + + handleNewParty(e, '/new')}> + New party + @@ -398,11 +396,10 @@ const Header = () => { <> - handleNewParty(e, '/new')} - href="/new" - > - New party + + handleNewParty(e, '/new')}> + New party +