truncate Gauge percentage to 2 decimal places
This commit is contained in:
1 parent
5a2c6a9aa7
commit
9e7e13baea
1 file changed
+1
-1
@@ -92,7 +92,7 @@ const CustomGauge = ({
|
|||||||
fill: theme.typography.body2.color,
|
fill: theme.typography.body2.color,
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{`${progress}%`}
|
{`${progress.toFixed(2)}%`}
|
||||||
</Typography>
|
</Typography>
|
||||||
</Box>
|
</Box>
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in new issue
Block a user