Update pages and routing

This commit is contained in:
Hazem Krimi
2021-05-26 23:44:04 +01:00
parent 6ae6d7cef5
commit bcd00f90d9
2 changed files with 12 additions and 0 deletions
+8
View File
@@ -26,7 +26,9 @@ import {
Category,
Prototype,
AddCategory,
AddFeature,
CategorySettings,
FeatureSettings,
} from './pages';
import { GetUserByIdQuery, GetUserByIdQueryVariables } from './graphql/types';
import { GET_USER_BY_ID } from './graphql/auth.api';
@@ -108,6 +110,12 @@ const App = () => {
<ProtectedRoute path='/feature/:id' exact>
<Feature />
</ProtectedRoute>
<ProtectedRoute path='/add-feature' exact>
<AddFeature />
</ProtectedRoute>
<ProtectedRoute path='/feature-settings/:id' exact>
<FeatureSettings />
</ProtectedRoute>
<ProtectedRoute path='/category' exact>
<Category />
</ProtectedRoute>