fix(RadialProgress): round percentage value to nearest integer to improve readability and consistency
This commit is contained in:
parent
0a0584c7ce
commit
01545f316e
1 changed files with 1 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ export default function RadialProgressComponent({
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className={"radial-progress " + color} style={style}>
|
<div className={"radial-progress " + color} style={style}>
|
||||||
<strong className="text-[8px]">{value * 100}%</strong>
|
<strong className="text-[8px]">{Math.trunc(value * 100)}%</strong>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue