diff --git a/src/app/auth/signup.tsx b/src/app/auth/signup.tsx index 86e69e6a..134d6c3e 100644 --- a/src/app/auth/signup.tsx +++ b/src/app/auth/signup.tsx @@ -1,6 +1,6 @@ import { Redirect, Link, router } from 'expo-router'; -import React, { useEffect, useState } from 'react'; -import { Alert, View, Text } from 'react-native'; +import React, { useState } from 'react'; +import { Alert, View } from 'react-native'; import { Button, Input } from 'react-native-elements'; import globalStyles from '../../styles/globalStyles'; diff --git a/src/app/auth/verify.tsx b/src/app/auth/verify.tsx index 9c2a38f7..118e4627 100644 --- a/src/app/auth/verify.tsx +++ b/src/app/auth/verify.tsx @@ -6,16 +6,6 @@ import { Button } from 'react-native-elements'; import globalStyles from '../../styles/globalStyles'; import { useSession } from '../../utils/AuthContext'; -const styles = StyleSheet.create({ - input: { - height: 40, - borderColor: 'gray', - borderWidth: 1, - marginTop: 10, - padding: 5, - }, -}); - function VerificationScreen() { const { user, verifyEmail, resendVerification } = useSession(); const [loading, setLoading] = useState(false); @@ -23,7 +13,6 @@ function VerificationScreen() { const verifyAccount = async () => { setLoading(true); - console.log(user); if (user?.email && verificationCode) { const { error, data } = await verifyEmail(user.email, verificationCode); @@ -83,3 +72,13 @@ function VerificationScreen() { } export default VerificationScreen; + +const styles = StyleSheet.create({ + input: { + height: 40, + borderColor: 'gray', + borderWidth: 1, + marginTop: 10, + padding: 5, + }, +}); diff --git a/src/components/UserStringInput.tsx b/src/components/UserStringInput.tsx index 9d2b8e0f..d85ab21e 100644 --- a/src/components/UserStringInput.tsx +++ b/src/components/UserStringInput.tsx @@ -24,7 +24,7 @@ export default function UserStringInput({ onChange(text)} /> diff --git a/src/utils/AuthContext.tsx b/src/utils/AuthContext.tsx index 8420ec32..b5e93692 100644 --- a/src/utils/AuthContext.tsx +++ b/src/utils/AuthContext.tsx @@ -53,10 +53,6 @@ export function AuthContextProvider({ }); }, []); - useEffect(() => { - console.log(`User updated: ${JSON.stringify(user)}`); - }, [user]); - const signIn = (newSession: Session | null) => { setSession(newSession); };