Skip to content

Commit

Permalink
mints: fix mint pending label (#5455)
Browse files Browse the repository at this point in the history
  • Loading branch information
skylarbarrera committed Mar 6, 2024
1 parent d6415b4 commit f57921f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/components/coin-row/FastTransactionCoinRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,11 @@ const BottomRow = React.memo(function BottomRow({
tag = transaction.description;
}

if (transaction?.type === 'mint') {
const inAsset = transaction?.changes?.find(a => a?.direction === 'in')?.asset;
description = inAsset?.name || '';
}

if (['wrap', 'unwrap', 'swap'].includes(transaction?.type)) {
const inAsset = transaction?.changes?.find(a => a?.direction === 'in')?.asset;
const outAsset = transaction?.changes?.find(a => a?.direction === 'out')?.asset;
Expand Down

0 comments on commit f57921f

Please sign in to comment.