Skip to content

Commit

Permalink
fix(suite): single row transaction not for tokens and internal txs
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasklim committed Mar 22, 2023
1 parent 8e1618e commit 1b669c8
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,9 @@ const TransactionItem = React.memo(
const useFiatValues = !isTestnet(transaction.symbol);
const useSingleRowLayout =
!isUnknown &&
(targets.length + tokens.length === 1 || transaction.type === 'self') &&
(targets.length === 1 || transaction.type === 'self') &&
!tokens.length &&
!internalTransfers.length &&
transaction.cardanoSpecific?.subtype !== 'withdrawal' &&
transaction.cardanoSpecific?.subtype !== 'stake_registration';

Expand Down

0 comments on commit 1b669c8

Please sign in to comment.