From 29fa4ff5deea9e9b6cb2a339262d3e5e24d3b70b Mon Sep 17 00:00:00 2001 From: "Rayyan (Rayy)" Date: Tue, 10 Oct 2023 08:47:23 +0000 Subject: [PATCH] Remove double up. --- src/App.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/App.js b/src/App.js index 3082e08..22cd6cf 100644 --- a/src/App.js +++ b/src/App.js @@ -25,7 +25,7 @@ import { AuthContext } from "./contexts/AuthContext" function App() { const FBapp = initializeApp(FirebaseConfig) const FBauth = getAuth() - const [auth, setAuth] = useState(false) + // navigation array const navItems = [ @@ -45,6 +45,7 @@ function App() { /// application states const [nav, setNav] = useState(navItems) + const [auth, setAuth] = useState(false) // authentication observer