Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonHJ committed Mar 16, 2023
1 parent edb0c8b commit 4669211
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/stores/crossChain.js
Expand Up @@ -244,7 +244,7 @@ class CrossChain {
value: item.srcChainType === 'WAN' && item.tokenSymbol === 'WAN' ? formatNum(formatNumByDecimals(item.value || '0', decimals)) : formatNum(formatNumByDecimals(item.contractValue, decimals)),
crossValue: item.srcChainType === 'WAN' && item.tokenSymbol === 'WAN' ? formatNum(formatNumByDecimals(item.value || '0', decimals)) : formatNum(formatNumByDecimals(item.contractValue || '0', decimals)),
crosschainFee: item.crosschainFee,
receivedAmount: item.status === 'Redeemed' ? item.receivedAmount : '0',
receivedAmount: item.receivedAmount ? item.status === 'Redeemed' ? item.receivedAmount : '0' : '',
status: item.status,
sendTime: item.sendTime,
approveTxHash: item.approveTxHash,
Expand Down

0 comments on commit 4669211

Please sign in to comment.