✨ Voir le detail d'un livre
This commit is contained in:
@@ -6,6 +6,7 @@ import Orders from './pages/Orders';
|
||||
import Profile from './pages/Profile';
|
||||
import NotFound from './pages/NotFound';
|
||||
import AddBook from './pages/AddBook';
|
||||
import BookDetail from './pages/BookDetail';
|
||||
|
||||
export default function App() {
|
||||
return (
|
||||
@@ -17,6 +18,7 @@ export default function App() {
|
||||
<Route path="profile" element={<Profile />} />
|
||||
<Route path="*" element={<NotFound />} />
|
||||
<Route path="books/new" element={<AddBook />} />
|
||||
<Route path="books/:bookId" element={<BookDetail />} />
|
||||
</Route>
|
||||
</Routes>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user