Improve networking, loading and redirection

This commit is contained in:
Hazem Krimi
2023-05-11 19:16:19 +01:00
parent 597c4703f2
commit 38527c2621
22 changed files with 1750 additions and 1750 deletions
+5 -5
View File
@@ -28,7 +28,7 @@ import {
AddProject,
UpdateProject,
Payments,
SupportMessaging,
Support,
} from './pages';
import { GetUserByIdQuery, GetUserByIdQueryVariables } from './graphql/types';
import { GET_USER_BY_ID } from './graphql/auth.api';
@@ -136,18 +136,18 @@ const App = () => {
}
/>
<Route
path='/support-messaging/:project'
path='/support/:project'
element={
<Protected>
<SupportMessaging />
<Support />
</Protected>
}
/>
<Route
path='/support-messaging/:project/:id'
path='/support/:project/:id'
element={
<Protected>
<SupportMessaging />
<Support />
</Protected>
}
/>