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