diff --git a/packages/desktop-client/src/components/mobile/transactions/TransactionEdit.jsx b/packages/desktop-client/src/components/mobile/transactions/TransactionEdit.jsx index e91756aa484..d23c88b7435 100644 --- a/packages/desktop-client/src/components/mobile/transactions/TransactionEdit.jsx +++ b/packages/desktop-client/src/components/mobile/transactions/TransactionEdit.jsx @@ -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); diff --git a/upcoming-release-notes/3825.md b/upcoming-release-notes/3825.md new file mode 100644 index 00000000000..f13d3bfcd27 --- /dev/null +++ b/upcoming-release-notes/3825.md @@ -0,0 +1,6 @@ +--- +category: Bugfix +authors: [JukeboxRhino] +--- + +Fix back button behavior after adding a new transaction on mobile