mirror of
https://github.com/RoboSats/robosats.git
synced 2025-01-18 20:21:35 +00:00
Fix decimal fees and exchange stats
This commit is contained in:
parent
0f8ebdc0b1
commit
550cb7e0e8
2
frontend/package-lock.json
generated
2
frontend/package-lock.json
generated
@ -19,7 +19,7 @@
|
||||
"@mui/material": "^5.15.3",
|
||||
"@mui/system": "^5.15.3",
|
||||
"@mui/x-data-grid": "^6.19.2",
|
||||
"@mui/x-date-pickers": "^6.19.2"
|
||||
"@mui/x-date-pickers": "^6.19.2",
|
||||
"@nivo/core": "^0.84.0",
|
||||
"@nivo/line": "^0.84.0",
|
||||
"base-ex": "^0.8.1",
|
||||
|
@ -391,13 +391,13 @@ const CoordinatorDialog = ({ open = false, onClose, network, shortAlias }: Props
|
||||
<Grid container>
|
||||
<Grid item xs={6}>
|
||||
<ListItemText secondary={t('Maker fee')}>
|
||||
{(coordinator?.info?.maker_fee ?? 0 * 100).toFixed(3)}%
|
||||
{((coordinator?.info?.maker_fee ?? 0) * 100).toFixed(3)}%
|
||||
</ListItemText>
|
||||
</Grid>
|
||||
|
||||
<Grid item xs={6}>
|
||||
<ListItemText secondary={t('Taker fee')}>
|
||||
{(coordinator?.info?.taker_fee ?? 0 * 100).toFixed(3)}%
|
||||
{((coordinator?.info?.taker_fee ?? 0) * 100).toFixed(3)}%
|
||||
</ListItemText>
|
||||
</Grid>
|
||||
</Grid>
|
||||
|
@ -155,7 +155,7 @@ const ExchangeDialog = ({ open = false, onClose }: Props): JSX.Element => {
|
||||
flexWrap: 'wrap',
|
||||
}}
|
||||
>
|
||||
{pn(federation.exchange.info.last_day_volume)}
|
||||
{pn(federation.exchange.info.last_day_volume.toFixed(8))}
|
||||
<BitcoinSignIcon sx={{ width: '0.6em', height: '0.6em' }} color='text.secondary' />
|
||||
</div>
|
||||
</ListItemText>
|
||||
@ -176,7 +176,7 @@ const ExchangeDialog = ({ open = false, onClose }: Props): JSX.Element => {
|
||||
flexWrap: 'wrap',
|
||||
}}
|
||||
>
|
||||
{pn(federation.exchange.info.lifetime_volume)}
|
||||
{pn(federation.exchange.info.lifetime_volume.toFixed(8))}
|
||||
<BitcoinSignIcon sx={{ width: '0.6em', height: '0.6em' }} color='text.secondary' />
|
||||
</div>
|
||||
</ListItemText>
|
||||
|
Loading…
Reference in New Issue
Block a user