@@ -4,11 +4,12 @@ import HomePage from "./pages/homePage";
44import Domains from "./pages/Domains" ;
55import { Route , Switch } from "react-router-dom" ;
66import Projects from "./pages/Projects" ;
7- import Registration from "./pages/Registration" ;
8- import GoogleRedirect from "./pages/GoogleRedirect" ;
9- import Meeting from "./pages/Meeting" ;
7+ // import Registration from "./pages/Registration";
8+ // import GoogleRedirect from "./pages/GoogleRedirect";
9+ // import Meeting from "./pages/Meeting";
1010import { updateAccessToken } from "./utils/updateAccessToken" ;
1111import useTokenStore from "./store/tokenStore" ;
12+ import NotFound from "./pages/NotFound" ;
1213
1314const REFRESH_TIME_MS = 50 * 60 * 1000 ;
1415const Routes : React . FC = ( ) => {
@@ -31,9 +32,10 @@ const Routes: React.FC = () => {
3132 < Route exact path = "/" component = { HomePage } />
3233 < Route exact path = "/team" component = { Domains } />
3334 < Route exact path = "/projects" component = { Projects } />
34- < Route exact path = "/registration" component = { Registration } />
35+ < Route path = "/" component = { NotFound } />
36+ { /* <Route exact path="/registration" component={Registration} />
3537 <Route path="/auth/google" component={GoogleRedirect} />
36- < Route exact path = "/events" component = { Meeting } />
38+ <Route exact path="/events" component={Meeting} /> */ }
3739 </ Switch >
3840 </ div >
3941 ) ;
0 commit comments