fix: energy values percent
This commit is contained in:
parent
83a52441d2
commit
d6a5a3a458
@ -14,7 +14,7 @@ const colors: Record<string, string> = {
|
||||
}
|
||||
|
||||
const valueFormatter = (value: number) => {
|
||||
return `${(value * 100).toFixed()}%`
|
||||
return `${(value).toFixed()}%`
|
||||
}
|
||||
|
||||
function EnergyValues({ className, values }: IEnergyValues): JSX.Element {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user