chore: 0 decimal places for % target stake column (#2588)

This commit is contained in:
Ciaran McGhie 2023-01-17 11:10:20 +00:00 committed by GitHub
parent e362d06b5a
commit bd754d1103
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -215,7 +215,7 @@ export const MarketList = () => {
) * 100; ) * 100;
const display = Number.isNaN(roundedPercentage) const display = Number.isNaN(roundedPercentage)
? 'N/A' ? 'N/A'
: formatNumberPercentage(toBigNum(roundedPercentage, 2)); : formatNumberPercentage(toBigNum(roundedPercentage, 0), 0);
return display; return display;
} else return '-'; } else return '-';
}} }}