Remove unneeded handler for contact route

This commit is contained in:
Ray 2024-01-17 13:27:14 +00:00 committed by GitHub
parent 5ac59686e2
commit 73ad414334
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -99,7 +99,7 @@ function App() {
<Routes> <Routes>
<Route path="/" element={<Home/>} /> <Route path="/" element={<Home/>} />
<Route path="/about" element={<About greeting="Hey you, this is about page!" handler={saySomething} />} /> <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/>} />
<Route path="/detail/:id" element={<Detail handler={getDocument} />} /> <Route path="/detail/:id" element={<Detail handler={getDocument} />} />
<Route path="/gallery" element={<Gallery items={data} />} /> <Route path="/gallery" element={<Gallery items={data} />} />
</Routes> </Routes>