From 4501ff26388912cae335d562e2dc2694b336ae54 Mon Sep 17 00:00:00 2001 From: "Rayyan (Rayy)" Date: Tue, 5 Sep 2023 10:28:50 +0000 Subject: [PATCH] Emulating a login as Firebase is causing issues. --- src/App.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/App.js b/src/App.js index cbb345d..9ccad31 100644 --- a/src/App.js +++ b/src/App.js @@ -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 ) }