Fix issue where button on about page was broken.

This commit is contained in:
Ray 2023-11-19 16:03:19 +00:00 committed by GitHub
parent 2634dfd94e
commit d9055c47e1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ function App() {
<StorageContext.Provider value={FBstorage}> <StorageContext.Provider value={FBstorage}>
<Routes> <Routes>
<Route path="/" element={<Home items={data} />} /> <Route path="/" element={<Home items={data} />} />
<Route path="/about" element={<About greeting="Hey you, this is about page!" />} /> <Route path="/about" element={<About greeting="Hey you, this is about page!" handler={saySomething} />} />
<Route path="/contact" element={<Contact greeting="Hey you, this is contact page!" />} /> <Route path="/contact" element={<Contact greeting="Hey you, this is contact page!" />} />
<Route path="/signup" element={<Signup handler={signUp} />} /> <Route path="/signup" element={<Signup handler={signUp} />} />
<Route path="/signout" element={<Signout handler={logOut} />} /> <Route path="/signout" element={<Signout handler={logOut} />} />