Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function Register({ firebase }: { firebase: Firebase }) {
let navigation = useNavigation()
return (
<form> {
let { email, password } = value
await firebase.auth.createUserWithEmailAndPassword(email, password)
await navigation.navigate('/?welcome')
}}>
value === '' ? 'Please enter your email.' : undefined
}
/></form>