|
@@ -47,7 +47,7 @@ class Router extends React.Component {
|
|
|
<Route path={routes.HOME} exact component={homePage} />
|
|
|
|
|
|
{/* should be protected */}
|
|
|
- <Route path={routes.CREATE_TEST} exact component={createTestForm} />
|
|
|
+ {/* <Route path={routes.CREATE_TEST} exact component={createTestForm} />
|
|
|
<Route path={routes.PROFILE} user={user} exact component={profilePage} />
|
|
|
<Route path={routes.CATEGORIES} user={user} exact component={categoriesPage} />
|
|
|
|
|
@@ -58,7 +58,7 @@ class Router extends React.Component {
|
|
|
<PrivateAdminRouter path={routes.CREATE_CATEGORY} user={user} exact component={null} />
|
|
|
<PrivateAdminRouter path={routes.DELETE_USER} user={user} exact component={null} />
|
|
|
|
|
|
- <Route component={notFound} />
|
|
|
+ <Route component={notFound} /> */}
|
|
|
</Switch>
|
|
|
</Suspense>
|
|
|
<Footer />
|
|
@@ -72,6 +72,6 @@ class Router extends React.Component {
|
|
|
// user: state.user
|
|
|
// })
|
|
|
|
|
|
-// export default connect()(Router)
|
|
|
+export default connect()(Router)
|
|
|
|
|
|
-export default Router;
|
|
|
+// export default Router;
|