From 9a2ce3e9f7ff1ac51d9136cd3af06bc308b52b74 Mon Sep 17 00:00:00 2001 From: Iyk Azorji Date: Fri, 20 Dec 2024 13:39:33 -0500 Subject: [PATCH] feat: update magic link example to use use the correct emailMode --- examples/react-native-bare-example/src/screens/magic-link.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/examples/react-native-bare-example/src/screens/magic-link.tsx b/examples/react-native-bare-example/src/screens/magic-link.tsx index b5dcefc6fe..3db96bd1af 100644 --- a/examples/react-native-bare-example/src/screens/magic-link.tsx +++ b/examples/react-native-bare-example/src/screens/magic-link.tsx @@ -101,7 +101,9 @@ export default function HomeScreen() { { - signer.authenticate({email, type: 'email'}).catch(console.error); + signer + .authenticate({email, type: 'email', emailMode: 'magicLink'}) + .catch(console.error); }}> Sign in