kopia lustrzana https://github.com/bugout-dev/moonstream
Add fix.
rodzic
72ed0350f5
commit
b1b55ae3e2
|
@ -49,7 +49,7 @@ const SubscriptionReport = ({ timeRange, url, id, type }) => {
|
||||||
<Text placeSelf="center">{metric.display_name}</Text>
|
<Text placeSelf="center">{metric.display_name}</Text>
|
||||||
<Text p={2} fontSize="42px" placeSelf="center">
|
<Text p={2} fontSize="42px" placeSelf="center">
|
||||||
{metric.display_name == "Total weth earned"
|
{metric.display_name == "Total weth earned"
|
||||||
? Number.parseInt(Number.parseInt(metric.value) / 1e18)
|
? Number.parseFloat(Number.parseFloat(metric.value) / 1e18)
|
||||||
: metric.value}
|
: metric.value}
|
||||||
</Text>
|
</Text>
|
||||||
</Flex>
|
</Flex>
|
||||||
|
|
Ładowanie…
Reference in New Issue