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,
|
||||
UserSettings,
|
||||
CreateUser,
|
||||
Template,
|
||||
Feature,
|
||||
Category,
|
||||
Prototype,
|
||||
} from './pages';
|
||||
import { GetUserByIdQuery, GetUserByIdQueryVariables } from './graphql/types';
|
||||
import { GET_USER_BY_ID } from './graphql/auth.api';
|
||||
@@ -87,6 +91,18 @@ const App = () => {
|
||||
<ProtectedRoute path='/project' exact>
|
||||
<Project />
|
||||
</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>
|
||||
<Users />
|
||||
</ProtectedRoute>
|
||||
|
||||
@@ -4,6 +4,10 @@ import AdditionalInfo from './Auth/AdditionalInfo';
|
||||
import ForgotPassword from './Auth/ForgotPassword';
|
||||
import RecoverAccount from './Auth/RecoverAccount';
|
||||
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 CreateUser from './CreateUser';
|
||||
import Settings from './Settings';
|
||||
@@ -16,6 +20,10 @@ export {
|
||||
ForgotPassword,
|
||||
RecoverAccount,
|
||||
Project,
|
||||
Template,
|
||||
Feature,
|
||||
Category,
|
||||
Prototype,
|
||||
Users,
|
||||
CreateUser,
|
||||
Settings,
|
||||
|
||||
Reference in New Issue
Block a user