Make this redirect back when logged in

This commit is contained in:
Lncvrt committed 2026-01-30 21:03:57 -07:00
1 parent 6b455dd959
commit 368f88b2c2
2 files changed
+22 -5

No files matched your search

+1 -1
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)
}, [])