chore: reformat code

This commit is contained in:
Rafael Taranto 2025-05-12 14:49:39 +01:00
parent 3d930aa73b
commit aedabcbdee
509 changed files with 6030 additions and 4266 deletions

View file

@ -47,24 +47,24 @@ const Footer = () => {
const tickerName = tickerIdx > -1 ? accountsConfig[tickerIdx].display : ''
const cashInNoCommission = parseFloat(
R.path(['cryptoRates', 'withoutCommissions', key, 'cashIn'])(data)
R.path(['cryptoRates', 'withoutCommissions', key, 'cashIn'])(data),
)
const cashOutNoCommission = parseFloat(
R.path(['cryptoRates', 'withoutCommissions', key, 'cashOut'])(data)
R.path(['cryptoRates', 'withoutCommissions', key, 'cashOut'])(data),
)
const avgOfAskBid = new BigNumber(
(cashInNoCommission + cashOutNoCommission) / 2
(cashInNoCommission + cashOutNoCommission) / 2,
).toFormat(2)
const cashIn = new BigNumber(
parseFloat(
R.path(['cryptoRates', 'withCommissions', key, 'cashIn'])(data)
)
R.path(['cryptoRates', 'withCommissions', key, 'cashIn'])(data),
),
).toFormat(2)
const cashOut = new BigNumber(
parseFloat(
R.path(['cryptoRates', 'withCommissions', key, 'cashOut'])(data)
)
R.path(['cryptoRates', 'withCommissions', key, 'cashOut'])(data),
),
).toFormat(2)
return (