Skip to content

Commit

Permalink
Add graceful fallback
Browse files Browse the repository at this point in the history
Fallback: don't try to show errors on a transaction if it's not actually
a split.
  • Loading branch information
jfdoming committed Feb 27, 2025
1 parent 71ef09c commit 8bc6f2b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1861,6 +1861,7 @@ function TransactionTableInner({
: trans.error;

const hasSplitError =
(trans.is_parent || trans.is_child) &&
(!expanded || isLastChild(transactions, index)) &&
error &&
error.type === 'SplitTransactionError';
Expand Down

0 comments on commit 8bc6f2b

Please sign in to comment.