Emulating a login as Firebase is causing issues.
This commit is contained in:
parent
c9b97caee1
commit
4501ff2638
|
@ -1,6 +1,7 @@
|
|||
import { FirebaseConfig } from "./config/Config"
|
||||
import { initializeApp } from "firebase/app"
|
||||
import { Routes, Route } from "react-router-dom"
|
||||
import { useState } from "react"
|
||||
|
||||
import { Header } from "./components/Header"
|
||||
import './App.css'
|
||||
|
@ -8,6 +9,7 @@ import { About } from "./pages/About"
|
|||
import { Home } from "./pages/Home"
|
||||
import { Contact } from "./pages/Contact"
|
||||
|
||||
|
||||
function App() {
|
||||
const FBapp = initializeApp(FirebaseConfig)
|
||||
// navigation array
|
||||
|
@ -26,6 +28,8 @@ const AuthNavItems = [
|
|||
{ label: "Log out", link: "/signout"}
|
||||
]
|
||||
|
||||
/// application states
|
||||
|
||||
const saySomething = ( word ) => {
|
||||
alert( word )
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue