Make this redirect back when logged in
This commit is contained in:
@@ -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)
|
||||
}, [])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user