Skip to content

Commit

Permalink
Merge pull request #39 from hcp-uw/settings-fixes
Browse files Browse the repository at this point in the history
added settings route
  • Loading branch information
audrey157 authored Aug 16, 2024
2 parents ba28e5a + 9bcb48a commit 8cd0fc0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions starter-frontend/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import Login from './pages/auth-pages/login';
import Register from './pages/auth-pages/register';
import NewProfile from './pages/edit-profile/EditProfile';
import PrivateRoute from './components/auth/PrivateRoute';
import Settings from './pages/settings/settings';
// Delete later
import Testing from './pages/testing';

Expand All @@ -32,6 +33,7 @@ function App(): JSX.Element {
<Route path="/register" element={<Register />} />
<Route path="/new-profile" element={<PrivateRoute><NewProfile /></PrivateRoute>} />
<Route path="/testing" element={<Testing />}/>
<Route path="/settings" element={<PrivateRoute><Settings/></PrivateRoute>}/>
<Route path="*" element={<ErrorPage />} />
</Routes>
<ErrorMessage />
Expand Down

0 comments on commit 8cd0fc0

Please sign in to comment.