mirror of
https://github.com/oceanprotocol/market.git
synced 2024-11-15 01:34:57 +01:00
parent
804cb3c7f1
commit
85b0643693
@ -96,6 +96,7 @@
|
||||
min-height: 0;
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
margin-top: -2px;
|
||||
}
|
||||
|
||||
.radio::after,
|
||||
|
@ -41,7 +41,11 @@ export default function Conversion({
|
||||
const values = data[tokenId]
|
||||
const fiatValue = values[currency.toLowerCase()]
|
||||
const converted = fiatValue * Number(price)
|
||||
setPriceConverted(`${formatCurrency(converted, currency, undefined, true)}`)
|
||||
const convertedFormatted = Number(
|
||||
formatCurrency(converted, currency, undefined, true)
|
||||
).toFixed(2)
|
||||
|
||||
setPriceConverted(`${convertedFormatted}`)
|
||||
}
|
||||
|
||||
useEffect(() => {
|
||||
|
Loading…
Reference in New Issue
Block a user