We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 41edb82 commit 23fe07cCopy full SHA for 23fe07c
src/Common/ErrorScreenManager.tsx
@@ -17,7 +17,7 @@
17
import notFound from '../Assets/Img/ic-not-found.svg'
18
import badRequest from '../Assets/Img/ic-page-not-found.svg'
19
import unauthorized from '../Assets/Img/ic-not-authorized.svg'
20
-import { ERROR_STATUS_CODE, ERROR_EMPTY_SCREEN, ROUTES } from './Constants'
+import { ERROR_STATUS_CODE, ERROR_EMPTY_SCREEN } from './Constants'
21
import Reload from './Reload'
22
import ErrorPage from './ErrorPage'
23
import { ErrorScreenManagerProps, ImageType } from './Types'
@@ -28,7 +28,7 @@ const ErrorScreenManager = ({
28
subtitle,
29
reloadClass,
30
heightToDeduct,
31
- redirectURL = ROUTES.APP_LIST,
+ redirectURL,
32
}: ErrorScreenManagerProps) => {
33
const getMessage = () => {
34
switch (code) {
0 commit comments