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,
|
||||
TemplateSettings,
|
||||
AddProject,
|
||||
UpdateProject,
|
||||
} from './pages';
|
||||
import { GetUserByIdQuery, GetUserByIdQueryVariables } from './graphql/types';
|
||||
import { GET_USER_BY_ID } from './graphql/auth.api';
|
||||
@@ -104,6 +105,9 @@ const App = () => {
|
||||
<ProtectedRoute path='/add-project' exact>
|
||||
<AddProject />
|
||||
</ProtectedRoute>
|
||||
<ProtectedRoute path='/project-settings/:id' exact>
|
||||
<UpdateProject />
|
||||
</ProtectedRoute>
|
||||
<ProtectedRoute path='/template' exact>
|
||||
<Template />
|
||||
</ProtectedRoute>
|
||||
|
||||
Reference in New Issue
Block a user