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:
@@ -32,6 +32,7 @@ import {
|
|||||||
FeatureSettings,
|
FeatureSettings,
|
||||||
TemplateSettings,
|
TemplateSettings,
|
||||||
AddProject,
|
AddProject,
|
||||||
|
UpdateProject,
|
||||||
} 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';
|
||||||
@@ -104,6 +105,9 @@ const App = () => {
|
|||||||
<ProtectedRoute path='/add-project' exact>
|
<ProtectedRoute path='/add-project' exact>
|
||||||
<AddProject />
|
<AddProject />
|
||||||
</ProtectedRoute>
|
</ProtectedRoute>
|
||||||
|
<ProtectedRoute path='/project-settings/:id' exact>
|
||||||
|
<UpdateProject />
|
||||||
|
</ProtectedRoute>
|
||||||
<ProtectedRoute path='/template' exact>
|
<ProtectedRoute path='/template' exact>
|
||||||
<Template />
|
<Template />
|
||||||
</ProtectedRoute>
|
</ProtectedRoute>
|
||||||
|
|||||||
Reference in New Issue
Block a user