mirror of
https://github.com/hazemKrimi/crimson-quirks-ui.git
synced 2026-05-01 18:20:28 +00:00
Update app routing
This commit is contained in:
+16
@@ -21,6 +21,10 @@ import {
|
|||||||
Settings,
|
Settings,
|
||||||
UserSettings,
|
UserSettings,
|
||||||
CreateUser,
|
CreateUser,
|
||||||
|
Template,
|
||||||
|
Feature,
|
||||||
|
Category,
|
||||||
|
Prototype,
|
||||||
} from './pages';
|
} from './pages';
|
||||||
import { GetUserByIdQuery, GetUserByIdQueryVariables } from './graphql/types';
|
import { GetUserByIdQuery, GetUserByIdQueryVariables } from './graphql/types';
|
||||||
import { GET_USER_BY_ID } from './graphql/auth.api';
|
import { GET_USER_BY_ID } from './graphql/auth.api';
|
||||||
@@ -87,6 +91,18 @@ const App = () => {
|
|||||||
<ProtectedRoute path='/project' exact>
|
<ProtectedRoute path='/project' exact>
|
||||||
<Project />
|
<Project />
|
||||||
</ProtectedRoute>
|
</ProtectedRoute>
|
||||||
|
<ProtectedRoute path='/template' exact>
|
||||||
|
<Template />
|
||||||
|
</ProtectedRoute>
|
||||||
|
<ProtectedRoute path='/feature' exact>
|
||||||
|
<Feature />
|
||||||
|
</ProtectedRoute>
|
||||||
|
<ProtectedRoute path='/category' exact>
|
||||||
|
<Category />
|
||||||
|
</ProtectedRoute>
|
||||||
|
<ProtectedRoute path='/prototype' exact>
|
||||||
|
<Prototype />
|
||||||
|
</ProtectedRoute>
|
||||||
<ProtectedRoute path='/clients' exact>
|
<ProtectedRoute path='/clients' exact>
|
||||||
<Users />
|
<Users />
|
||||||
</ProtectedRoute>
|
</ProtectedRoute>
|
||||||
|
|||||||
@@ -4,6 +4,10 @@ import AdditionalInfo from './Auth/AdditionalInfo';
|
|||||||
import ForgotPassword from './Auth/ForgotPassword';
|
import ForgotPassword from './Auth/ForgotPassword';
|
||||||
import RecoverAccount from './Auth/RecoverAccount';
|
import RecoverAccount from './Auth/RecoverAccount';
|
||||||
import Project from './Project';
|
import Project from './Project';
|
||||||
|
import Template from './Template';
|
||||||
|
import Feature from './Feature';
|
||||||
|
import Category from './Category';
|
||||||
|
import Prototype from './Prototype';
|
||||||
import Users from './Users';
|
import Users from './Users';
|
||||||
import CreateUser from './CreateUser';
|
import CreateUser from './CreateUser';
|
||||||
import Settings from './Settings';
|
import Settings from './Settings';
|
||||||
@@ -16,6 +20,10 @@ export {
|
|||||||
ForgotPassword,
|
ForgotPassword,
|
||||||
RecoverAccount,
|
RecoverAccount,
|
||||||
Project,
|
Project,
|
||||||
|
Template,
|
||||||
|
Feature,
|
||||||
|
Category,
|
||||||
|
Prototype,
|
||||||
Users,
|
Users,
|
||||||
CreateUser,
|
CreateUser,
|
||||||
Settings,
|
Settings,
|
||||||
|
|||||||
Reference in New Issue
Block a user