Skip to content

Commit

Permalink
fix: prevent empty ada value in fiat conversion (#1588)
Browse files Browse the repository at this point in the history
  • Loading branch information
greatertomi authored Dec 11, 2024
1 parent 6b6642b commit dd401c8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ export const useSelectedCoins = ({
rewardAcountsData.lockedStakeRewards.toString() || '0'
);
const fiatValue = Wallet.util.convertAdaToFiat({
ada: assetInputItem?.value ?? '0',
ada: assetInputItem?.value || '0',
fiat: prices?.cardano?.price
});
return {
Expand Down

0 comments on commit dd401c8

Please sign in to comment.