mirror of
https://github.com/bluewave-labs/Checkmate.git
synced 2026-05-21 00:48:45 -05:00
truncate Gauge percentage to 2 decimal places
This commit is contained in:
@@ -92,7 +92,7 @@ const CustomGauge = ({
|
||||
fill: theme.typography.body2.color,
|
||||
}}
|
||||
>
|
||||
{`${progress}%`}
|
||||
{`${progress.toFixed(2)}%`}
|
||||
</Typography>
|
||||
</Box>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user