From 704e8b3ebd02d2e057c2c07024234fe161560200 Mon Sep 17 00:00:00 2001 From: Joey Yakimowich-Payne Date: Thu, 22 Jan 2026 08:20:49 -0700 Subject: [PATCH] Fix paths --- hooks/useGame.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/hooks/useGame.ts b/hooks/useGame.ts index 983db1e..aa72aa0 100644 --- a/hooks/useGame.ts +++ b/hooks/useGame.ts @@ -163,7 +163,13 @@ export const useGame = () => { if (auth.isLoading) return; const getTargetPath = () => { - if (location.pathname === '/callback' || location.pathname.startsWith('/shared/')) { + if ( + location.pathname === '/callback' || + location.pathname.startsWith('/shared/') || + location.pathname === '/upgrade' || + location.pathname === '/payment/success' || + location.pathname === '/payment/cancel' + ) { return null; }