diff --git a/examples/react-native-bare-example/src/screens/otp.tsx b/examples/react-native-bare-example/src/screens/otp.tsx index 9298bdea82..5ed0165088 100644 --- a/examples/react-native-bare-example/src/screens/otp.tsx +++ b/examples/react-native-bare-example/src/screens/otp.tsx @@ -39,10 +39,7 @@ export default function OTPAuthScreen() { otpCode: code, type: 'otp', }) - .then(res => { - console.log('res', res); - setUser(res); - }) + .then(setUser) .catch(console.error); };