Skip to content

Commit

Permalink
fix: remove header route
Browse files Browse the repository at this point in the history
  • Loading branch information
juanpabotero committed Sep 5, 2023
1 parent e394e0b commit 12aee3a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pruebas/01-reading-list/juanpabotero/src/App.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { Route, Routes } from 'react-router-dom';
import { Home } from './Home';
import { Book } from './components/Book';
import { Header } from './components/Header';
import { useFilters } from './hooks/useFilters';
import { library as initialBooks } from './mocks/books.json';

Expand All @@ -15,8 +14,7 @@ function App() {
<div className="max-w-5xl mx-auto pt-20 pb-14 px-4">
<Routes>
<Route path="/" element={<Home />} />
<Route path="header" element={<Header />} />
<Route path="book/:id" element={<Book books={filteredBooksMapped} />} />
<Route path="/book/:id" element={<Book books={filteredBooksMapped} />} />
</Routes>
<div
className="fixed -z-10 h-[134px] w-[134px] lg:w-[300px] lg:h-[300px] rounded-full
Expand Down

0 comments on commit 12aee3a

Please sign in to comment.