Skip to content

Commit

Permalink
chore: format ternary
Browse files Browse the repository at this point in the history
  • Loading branch information
onmax committed Oct 24, 2024
1 parent 2fab399 commit 653c15d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/SwapFeesTooltip.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ class SwapFeesTooltip { // eslint-disable-line no-unused-vars
: 0;

const theirFee = fundTx.type === 'EUR' || fundTx.type === 'CRC'
? fundFees.processing : redeemFees.processing;
? fundFees.processing
: redeemFees.processing;

const fiatRate = fundTx.type === 'EUR' || fundTx.type === 'CRC' ? fundingFiatRate : redeemingFiatRate;
const fiatSwapAsset = (fundTx.type === 'EUR' || fundTx.type === 'CRC' ? fundTx.type : redeemTx.type);
Expand Down

0 comments on commit 653c15d

Please sign in to comment.