mirror of
https://github.com/hazemKrimi/crimson-quirks-ui.git
synced 2026-05-02 02:30:29 +00:00
Update app routing
This commit is contained in:
@@ -31,6 +31,7 @@ import {
|
|||||||
CategorySettings,
|
CategorySettings,
|
||||||
FeatureSettings,
|
FeatureSettings,
|
||||||
TemplateSettings,
|
TemplateSettings,
|
||||||
|
AddProject,
|
||||||
} 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';
|
||||||
@@ -100,6 +101,9 @@ const App = () => {
|
|||||||
<ProtectedRoute path='/project/:id' exact>
|
<ProtectedRoute path='/project/:id' exact>
|
||||||
<Project />
|
<Project />
|
||||||
</ProtectedRoute>
|
</ProtectedRoute>
|
||||||
|
<ProtectedRoute path='/add-project' exact>
|
||||||
|
<AddProject />
|
||||||
|
</ProtectedRoute>
|
||||||
<ProtectedRoute path='/template' exact>
|
<ProtectedRoute path='/template' exact>
|
||||||
<Template />
|
<Template />
|
||||||
</ProtectedRoute>
|
</ProtectedRoute>
|
||||||
|
|||||||
Reference in New Issue
Block a user