Remove double up.
This commit is contained in:
parent
0e749a4ef4
commit
29fa4ff5de
|
@ -25,7 +25,7 @@ import { AuthContext } from "./contexts/AuthContext"
|
||||||
function App() {
|
function App() {
|
||||||
const FBapp = initializeApp(FirebaseConfig)
|
const FBapp = initializeApp(FirebaseConfig)
|
||||||
const FBauth = getAuth()
|
const FBauth = getAuth()
|
||||||
const [auth, setAuth] = useState(false)
|
|
||||||
|
|
||||||
// navigation array
|
// navigation array
|
||||||
const navItems = [
|
const navItems = [
|
||||||
|
@ -45,6 +45,7 @@ function App() {
|
||||||
|
|
||||||
/// application states
|
/// application states
|
||||||
const [nav, setNav] = useState(navItems)
|
const [nav, setNav] = useState(navItems)
|
||||||
|
const [auth, setAuth] = useState(false)
|
||||||
|
|
||||||
|
|
||||||
// authentication observer
|
// authentication observer
|
||||||
|
|
Loading…
Reference in New Issue