Remove double up.

This commit is contained in:
Ray 2023-10-10 08:47:23 +00:00 committed by GitHub
parent 0e749a4ef4
commit 29fa4ff5de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -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