mirror of
https://github.com/hazemKrimi/crimson-quirks-ui.git
synced 2026-05-02 02:30:29 +00:00
Improve networking, loading and redirection
This commit is contained in:
+5
-5
@@ -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>
|
||||
}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user