Commit 4a8e549a authored by isstuev's avatar isstuev

remove +0

parent 80c06fc8
......@@ -19,8 +19,12 @@ const VerifiedContractsCountersItem = ({ name, total, new24 }: Props) => {
<Text variant="secondary" fontSize="xs">{ name }</Text>
<Flex alignItems="baseline">
<Text fontWeight={ 600 } mr={ 2 } fontSize="lg">{ Number(total).toLocaleString('en') }</Text>
<Text fontWeight={ 600 } mr={ 1 } fontSize="lg" color="green.500">+{ Number(new24).toLocaleString('en') }</Text>
<Text variant="secondary" fontSize="sm">(24h)</Text>
{ Number(new24) > 0 && (
<>
<Text fontWeight={ 600 } mr={ 1 } fontSize="lg" color="green.500">+{ Number(new24).toLocaleString('en') }</Text>
<Text variant="secondary" fontSize="sm">(24h)</Text>
</>
) }
</Flex>
</Box>
);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment