pull/431/head
Andrey Dolgolev 2021-11-16 02:52:30 +02:00
rodzic 72ed0350f5
commit b1b55ae3e2
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -49,7 +49,7 @@ const SubscriptionReport = ({ timeRange, url, id, type }) => {
<Text placeSelf="center">{metric.display_name}</Text>
<Text p={2} fontSize="42px" placeSelf="center">
{metric.display_name == "Total weth earned"
? Number.parseInt(Number.parseInt(metric.value) / 1e18)
? Number.parseFloat(Number.parseFloat(metric.value) / 1e18)
: metric.value}
</Text>
</Flex>