Skip to content

Commit

Permalink
feat: update magic link example to use use the correct emailMode
Browse files Browse the repository at this point in the history
  • Loading branch information
iykazrji committed Dec 20, 2024
1 parent af5a49b commit 9a2ce3e
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,9 @@ export default function HomeScreen() {
<TouchableOpacity
style={styles.button}
onPress={() => {
signer.authenticate({email, type: 'email'}).catch(console.error);
signer
.authenticate({email, type: 'email', emailMode: 'magicLink'})
.catch(console.error);
}}>
<Text style={styles.buttonText}>Sign in</Text>
</TouchableOpacity>
Expand Down

0 comments on commit 9a2ce3e

Please sign in to comment.