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