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 { FirebaseConfig } from "./config/Config"
|
||||||
import { initializeApp } from "firebase/app"
|
import { initializeApp } from "firebase/app"
|
||||||
import { Routes, Route } from "react-router-dom"
|
import { Routes, Route } from "react-router-dom"
|
||||||
|
import { useState } from "react"
|
||||||
|
|
||||||
import { Header } from "./components/Header"
|
import { Header } from "./components/Header"
|
||||||
import './App.css'
|
import './App.css'
|
||||||
|
@ -8,6 +9,7 @@ import { About } from "./pages/About"
|
||||||
import { Home } from "./pages/Home"
|
import { Home } from "./pages/Home"
|
||||||
import { Contact } from "./pages/Contact"
|
import { Contact } from "./pages/Contact"
|
||||||
|
|
||||||
|
|
||||||
function App() {
|
function App() {
|
||||||
const FBapp = initializeApp(FirebaseConfig)
|
const FBapp = initializeApp(FirebaseConfig)
|
||||||
// navigation array
|
// navigation array
|
||||||
|
@ -26,6 +28,8 @@ const AuthNavItems = [
|
||||||
{ label: "Log out", link: "/signout"}
|
{ label: "Log out", link: "/signout"}
|
||||||
]
|
]
|
||||||
|
|
||||||
|
/// application states
|
||||||
|
|
||||||
const saySomething = ( word ) => {
|
const saySomething = ( word ) => {
|
||||||
alert( word )
|
alert( word )
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue