Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikolaus-B committed Mar 24, 2024
1 parent d2f0fdf commit 697c6e3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ function App() {
<Routes>
<Route path="/" element={<AppLayout />}>
<Route index element={<WelcomePage />} />
<Route path="/home" element={<HomePage />} />
<Route path="/favourite" element={<FavouritePage />} />
<Route path="home" element={<HomePage />} />
<Route path="favourite" element={<FavouritePage />} />
</Route>
<Route path="*" element={<NotFoundPage />} />
</Routes>
Expand Down
4 changes: 2 additions & 2 deletions src/components/Header/Header.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ export const Header = () => {
<HeaderContainer>
<HeaderNavigation>
<NavLink to="/">RentCamp</NavLink>
<NavLink to="/home">Rent</NavLink>
<NavLink to="/favourite">Favourite</NavLink>
<NavLink to="home">Rent</NavLink>
<NavLink to="favourite">Favourite</NavLink>
</HeaderNavigation>
</HeaderContainer>
);
Expand Down

0 comments on commit 697c6e3

Please sign in to comment.