Fix main route
This commit is contained in:
parent
3287b9a3b7
commit
4f50526a1d
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ export default function OnboardStartScreen() {
|
||||||
const response = await Request.post( 'sessions/get', { token: token } );
|
const response = await Request.post( 'sessions/get', { token: token } );
|
||||||
if (response.success) {
|
if (response.success) {
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
router.replace( '/(tabs)/settings' );
|
router.replace( '/(tabs)' );
|
||||||
} else {
|
} else {
|
||||||
router.replace( '/(onboarding)/start' );
|
router.replace( '/(onboarding)/start' );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue