From 22623ce65e62a601aadb5ace953c6f5c5baddf4a Mon Sep 17 00:00:00 2001 From: Joel Jeremy Marquez Date: Wed, 27 Nov 2024 08:02:37 -0800 Subject: [PATCH] Fix mobile transaction edit page's back button behavior (#3905) * Fix mobile transaction edit page's back button behavior * Release notes --- .../mobile/transactions/TransactionEdit.jsx | 45 ++++++++++--------- upcoming-release-notes/3905.md | 6 +++ 2 files changed, 30 insertions(+), 21 deletions(-) create mode 100644 upcoming-release-notes/3905.md diff --git a/packages/desktop-client/src/components/mobile/transactions/TransactionEdit.jsx b/packages/desktop-client/src/components/mobile/transactions/TransactionEdit.jsx index cbe373495e1..b7f7140e2ee 100644 --- a/packages/desktop-client/src/components/mobile/transactions/TransactionEdit.jsx +++ b/packages/desktop-client/src/components/mobile/transactions/TransactionEdit.jsx @@ -156,7 +156,7 @@ export function Status({ status, isSplit }) { function Footer({ transactions, - adding, + isAdding, onAdd, onSave, onSplit, @@ -232,7 +232,7 @@ function Footer({ Select account - ) : adding ? ( + ) : isAdding ? (