fix: remove percent stauts

This commit is contained in:
MehrdadAdabi 2025-09-21 19:49:59 +03:30
parent 97331fdf34
commit f42a12c25c

View File

@ -102,16 +102,13 @@ export function CustomBarChart({
> >
<div className="inset-0 bg-gradient-to-r from-transparent to-white/10 rounded-full"></div> <div className="inset-0 bg-gradient-to-r from-transparent to-white/10 rounded-full"></div>
</div> </div>
{displayValue != 100 && (
<span
className={`text-base font-normal text-left text-white`}
>
{item.valuePrefix || ""}
{formatNumber(parseFloat(displayValue))} <span className={`text-base font-normal text-left text-white`}>
{item.valueSuffix || ""} {item.valuePrefix || ""}
</span>
)} {formatNumber(parseFloat(displayValue))}
{item.valueSuffix || ""}
</span>
</div> </div>
</div> </div>
); );