Make this redirect back when logged in

This commit is contained in:
2026-01-30 21:01:35 -07:00
parent 6b455dd959
commit 368f88b2c2
2 changed files with 22 additions and 5 deletions

View File

@@ -19,7 +19,7 @@ export default function BerryDashSplash () {
const token = getCookie('accountToken', '-1')
if (token === '-1') {
router.push('/account')
router.push('/account/login?redirect=/game/berry-dash/splash')
} else setLoading(false)
}, [])