Skip to content

Commit 23fe07c

Browse files
committed
fix: fallback for redirectUrl in Error screen manager
1 parent 41edb82 commit 23fe07c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Common/ErrorScreenManager.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
import notFound from '../Assets/Img/ic-not-found.svg'
1818
import badRequest from '../Assets/Img/ic-page-not-found.svg'
1919
import unauthorized from '../Assets/Img/ic-not-authorized.svg'
20-
import { ERROR_STATUS_CODE, ERROR_EMPTY_SCREEN, ROUTES } from './Constants'
20+
import { ERROR_STATUS_CODE, ERROR_EMPTY_SCREEN } from './Constants'
2121
import Reload from './Reload'
2222
import ErrorPage from './ErrorPage'
2323
import { ErrorScreenManagerProps, ImageType } from './Types'
@@ -28,7 +28,7 @@ const ErrorScreenManager = ({
2828
subtitle,
2929
reloadClass,
3030
heightToDeduct,
31-
redirectURL = ROUTES.APP_LIST,
31+
redirectURL,
3232
}: ErrorScreenManagerProps) => {
3333
const getMessage = () => {
3434
switch (code) {

0 commit comments

Comments
 (0)