login redirect to game - fix

This commit is contained in:
Ota Prokopec 2023-03-03 18:30:22 +01:00
parent acc5a91405
commit 36e13a4cd4
1 changed files with 1 additions and 0 deletions

View File

@ -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>