From 8519e6bacb322e77b1bce996bfe2e1abe980c902 Mon Sep 17 00:00:00 2001 From: Iyk Azorji Date: Wed, 18 Dec 2024 15:20:08 -0500 Subject: [PATCH] fix: remove unnecessary console.log statements --- examples/react-native-bare-example/src/screens/otp.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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); };