Skip to content

Commit

Permalink
Routes work
Browse files Browse the repository at this point in the history
  • Loading branch information
QwertyJon25 committed Dec 3, 2021
1 parent e401009 commit 438584e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion client/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,13 @@ export default function App() {
<Route path="artists" element={<ArtistPage />} />
<Route path="directors" element={<DirectorPage/>} />
<Route path="galleries" element={<GalleryPage/>} />
<Route path="invoices" element={<PiecePage/>} />
<Route path="pieces" element={<PiecePage/>} />
<Route path="*" element={
<main style={{ padding: "1rem" }}>
<p>There's nothing here!</p>
</main>
}
/>
{/* <Route path="invoices" element={<ArtistProfile />} /> */}
</Route>
</Routes>
Expand Down

0 comments on commit 438584e

Please sign in to comment.