Update app routing

This commit is contained in:
Hazem Krimi
2021-05-12 01:40:54 +01:00
parent aca15584d4
commit 05d43a3b31
2 changed files with 24 additions and 0 deletions
+16
View File
@@ -21,6 +21,10 @@ import {
Settings,
UserSettings,
CreateUser,
Template,
Feature,
Category,
Prototype,
} from './pages';
import { GetUserByIdQuery, GetUserByIdQueryVariables } from './graphql/types';
import { GET_USER_BY_ID } from './graphql/auth.api';
@@ -87,6 +91,18 @@ const App = () => {
<ProtectedRoute path='/project' exact>
<Project />
</ProtectedRoute>
<ProtectedRoute path='/template' exact>
<Template />
</ProtectedRoute>
<ProtectedRoute path='/feature' exact>
<Feature />
</ProtectedRoute>
<ProtectedRoute path='/category' exact>
<Category />
</ProtectedRoute>
<ProtectedRoute path='/prototype' exact>
<Prototype />
</ProtectedRoute>
<ProtectedRoute path='/clients' exact>
<Users />
</ProtectedRoute>