Skip to content

Commit f51745c

Browse files
committed
fix: add redirectURL to not found instead of bad request
1 parent fb85114 commit f51745c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Common/ErrorScreenManager.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ const ErrorScreenManager = ({
2626
imageType={ImageType.Large}
2727
heightToDeduct={heightToDeduct}
2828
reload={reload}
29-
redirectURL={redirectURL}
3029
/>
3130
)
3231
case ERROR_STATUS_CODE.UNAUTHORIZED:
@@ -60,6 +59,7 @@ const ErrorScreenManager = ({
6059
image={notFound}
6160
imageType={ImageType.Large}
6261
heightToDeduct={heightToDeduct}
62+
redirectURL={redirectURL}
6363
/>
6464
)
6565
case ERROR_STATUS_CODE.INTERNAL_SERVER_ERROR:
@@ -71,6 +71,7 @@ const ErrorScreenManager = ({
7171
image={badRequest}
7272
imageType={ImageType.Large}
7373
heightToDeduct={heightToDeduct}
74+
reload={reload}
7475
/>
7576
)
7677
case ERROR_STATUS_CODE.BAD_GATEWAY:

0 commit comments

Comments
 (0)