diff --git a/frontend/src/App.js b/frontend/src/App.js index 946d60a..3ecc99f 100644 --- a/frontend/src/App.js +++ b/frontend/src/App.js @@ -9,29 +9,32 @@ import ManagePage from "./pages/ManagePage"; import ManageStudentsPage from "./pages/ManageStudentsPage"; import AuthenticatedRoute from "./components/AuthenticatedRoute"; +const AuthRoute = ({ isAuthenticated = true, path, children }) => { + return ( + + + {children} + + + ); +}; + function App() { return (
- - + - - - - + + - - - - + + - - - - + + + - - + {(params) => { @@ -43,11 +46,9 @@ function App() { }} - - + - - + {(params) => {