Skip to content

Commit

Permalink
fix: bug crash
Browse files Browse the repository at this point in the history
  • Loading branch information
Tien Nam Dao committed Oct 28, 2022
1 parent 9ebc846 commit 69fa52d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions views/transactions/TransactionRowContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,9 +125,11 @@ export default function TransactionRowContent({
size="xs"
value={value}
currency={
valueCurrency.toLowerCase() == 'aastra'
? process.env.NEXT_PUBLIC_FEE_TOKEN
: valueCurrency?.toUpperCase()
valueCurrency
? valueCurrency.toLowerCase() == 'aastra'
? process.env.NEXT_PUBLIC_FEE_TOKEN
: valueCurrency?.toUpperCase()
: ''
}
icon={valueToken && <CryptoIcon name={valueToken} size="sm" />}
/>
Expand Down

0 comments on commit 69fa52d

Please sign in to comment.