Skip to content

Commit

Permalink
fix: signpage blank screen issue (#416)
Browse files Browse the repository at this point in the history
  • Loading branch information
AbbasAliLokhandwala authored Nov 21, 2024
1 parent fecbe30 commit 57872a4
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/fetch-extension/src/pages-new/sign/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,11 @@ export const SignPageV2: FunctionComponent = observer(() => {
styleProp={{ height: "579px" }}
title={"Confirm transaction"}
closeClicked={() => {
navigate(-1);
if (window.history.length > 1) {
navigate(-1);
} else {
navigate("/");
}
}}
setIsOpen={setIsOpen}
isOpen={isOpen}
Expand Down

0 comments on commit 57872a4

Please sign in to comment.