fix: remove percent stauts
This commit is contained in:
parent
97331fdf34
commit
f42a12c25c
|
|
@ -102,16 +102,13 @@ export function CustomBarChart({
|
|||
>
|
||||
<div className="inset-0 bg-gradient-to-r from-transparent to-white/10 rounded-full"></div>
|
||||
</div>
|
||||
{displayValue != 100 && (
|
||||
<span
|
||||
className={`text-base font-normal text-left text-white`}
|
||||
>
|
||||
{item.valuePrefix || ""}
|
||||
|
||||
{formatNumber(parseFloat(displayValue))}
|
||||
{item.valueSuffix || ""}
|
||||
</span>
|
||||
)}
|
||||
<span className={`text-base font-normal text-left text-white`}>
|
||||
{item.valuePrefix || ""}
|
||||
|
||||
{formatNumber(parseFloat(displayValue))}
|
||||
{item.valueSuffix || ""}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user