From 22981a3e2fce6a5e420ca1456f712500b17636d1 Mon Sep 17 00:00:00 2001 From: solderq35 Date: Fri, 8 Mar 2024 21:59:24 -0800 Subject: [PATCH] reset plan index --- app/content/plan/index.js | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/app/content/plan/index.js b/app/content/plan/index.js index 859338d7..5210973d 100644 --- a/app/content/plan/index.js +++ b/app/content/plan/index.js @@ -1,43 +1,14 @@ -import { signOut as signoutFireBase } from "firebase/auth"; -import { Pressable } from "react-native"; import { PaperProvider, Text } from "react-native-paper"; import { SafeAreaView } from "react-native-safe-area-context"; -import { currentAuthContext } from "~/context/Auth"; -import { auth } from "~/firebaseConfig"; //This is for the list of drills export default function Index() { - const { signOut } = currentAuthContext(); - async function handleSignOut() { - signoutFireBase(auth) - .then(() => { - // Sign-out successful. - }) - .catch((e) => { - alert(e); - console.log(e); - }); - signOut(); - } return ( Plan Index - - - {" "} - Sign Out{" "} - - );