diff --git a/App.tsx b/App.tsx index 63ac043..6a47ac6 100644 --- a/App.tsx +++ b/App.tsx @@ -1,26 +1,9 @@ -import React, { useEffect, useState } from "react"; -import { Alert, Text } from "react-native"; +import React from "react"; +import { Text } from "react-native"; import ClientProvider from "./graphql/client"; import ShotsContainer from "./component/shot"; -import auth, { FirebaseAuthTypes } from '@react-native-firebase/auth'; - - const App: React.FC = () => { - const testFirebaseAuth = async () => { - try { - // Attempt to sign in anonymously - const userCredential: FirebaseAuthTypes.UserCredential = await auth().signInAnonymously(); - console.log('Signed in anonymously, User:', userCredential.user); - } catch (error) { - console.error('Error with Firebase Auth:', error); - } - }; - - useEffect(() => { - testFirebaseAuth(); - }, []); - return (