Emulating a login as Firebase is causing issues.

This commit is contained in:
Ray 2023-09-05 10:28:50 +00:00 committed by GitHub
parent c9b97caee1
commit 4501ff2638
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

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