Skip to content

Commit

Permalink
chore: do not navigate after dismiss
Browse files Browse the repository at this point in the history
  • Loading branch information
im-adithya committed Dec 23, 2024
1 parent 4113e53 commit d355e8f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions pages/settings/wallets/SetupWallet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@ export function SetupWallet() {
if (router.canDismiss()) {
router.dismissAll();
}
router.navigate("/");
};

React.useEffect(() => {
Expand Down Expand Up @@ -167,7 +166,6 @@ export function SetupWallet() {
if (router.canDismiss()) {
router.dismissAll();
}
router.navigate("/");
}}
>
<X className="text-foreground" />
Expand Down

0 comments on commit d355e8f

Please sign in to comment.