login redirect to game - fix
This commit is contained in:
parent
acc5a91405
commit
36e13a4cd4
|
@ -14,6 +14,7 @@
|
||||||
|
|
||||||
const emailLogin = async () => {
|
const emailLogin = async () => {
|
||||||
await account.createEmailSession(email, password)
|
await account.createEmailSession(email, password)
|
||||||
|
if (navigation.canGoBack) navigation.back()
|
||||||
navigate('/')
|
navigate('/')
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue