Skip to content

Commit

Permalink
Disable vacation page
Browse files Browse the repository at this point in the history
  • Loading branch information
jonandernovella committed Sep 6, 2022
1 parent 8a56e3a commit f9b9a64
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
18 changes: 10 additions & 8 deletions frontend/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,14 +49,16 @@ export const App = () => {
</ProtectedRoute>
}
/>
<Route
path="/vacation"
element={
<ProtectedRoute>
<VacationPlanner />
</ProtectedRoute>
}
/>
{/*
<Route
path="/vacation"
element={
<ProtectedRoute>
<VacationPlanner />
</ProtectedRoute>
}
/>
*/}
</Routes>
</AuthProvider>
</BrowserRouter>
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/components/HeaderUser.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ export const HeaderUser = ({ username }: { username: string }) => {
<a className="nav-item" href="/report">
Report time
</a>
<a className="nav-item" href="/vacation">
{/* <a className="nav-item" href="/vacation">
Vacation
</a>
</a> */}
<button type="button" className="nav-item" onClick={logout}>
Log out
</button>
Expand Down

0 comments on commit f9b9a64

Please sign in to comment.