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:
+11
@@ -27,8 +27,10 @@ import {
|
||||
Prototype,
|
||||
AddCategory,
|
||||
AddFeature,
|
||||
AddTemplate,
|
||||
CategorySettings,
|
||||
FeatureSettings,
|
||||
TemplateSettings,
|
||||
} from './pages';
|
||||
import { GetUserByIdQuery, GetUserByIdQueryVariables } from './graphql/types';
|
||||
import { GET_USER_BY_ID } from './graphql/auth.api';
|
||||
@@ -104,6 +106,15 @@ const App = () => {
|
||||
<ProtectedRoute path='/template/:id' exact>
|
||||
<Template />
|
||||
</ProtectedRoute>
|
||||
<ProtectedRoute path='/add-template' exact>
|
||||
<AddTemplate />
|
||||
</ProtectedRoute>
|
||||
<ProtectedRoute path='/template-settings/:id' exact>
|
||||
<TemplateSettings />
|
||||
</ProtectedRoute>
|
||||
<ProtectedRoute path='/add-template' exact>
|
||||
<AddTemplate />
|
||||
</ProtectedRoute>
|
||||
<ProtectedRoute path='/feature' exact>
|
||||
<Feature />
|
||||
</ProtectedRoute>
|
||||
|
||||
Reference in New Issue
Block a user