Skip to content

Commit

Permalink
fix back button behavior after adding tx on mobile (#3825)
Browse files Browse the repository at this point in the history
Co-authored-by: Austin Pearce <[email protected]>
  • Loading branch information
JukeboxRhino and Austin Pearce authored Nov 12, 2024
1 parent dd69e53 commit 9e47801
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ const TransactionEditInner = memo(function TransactionEditInner({
const { account: accountId } = unserializedTransaction;
const account = accountsById?.[accountId];
if (account) {
navigate(`/accounts/${account.id}`);
navigate(`/accounts/${account.id}`, { replace: true });
} else {
// Handle the case where account is undefined
navigate(-1);
Expand Down
6 changes: 6 additions & 0 deletions upcoming-release-notes/3825.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
category: Bugfix
authors: [JukeboxRhino]
---

Fix back button behavior after adding a new transaction on mobile

0 comments on commit 9e47801

Please sign in to comment.