Fix paths

This commit is contained in:
Joey Yakimowich-Payne 2026-01-22 08:20:49 -07:00
commit 704e8b3ebd
No known key found for this signature in database
GPG key ID: 6BFE655FA5ABD1E1

View file

@ -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;
}