Add type filters for abuse report window

This commit is contained in:
2024-04-11 14:40:39 +02:00
parent f8a97d2183
commit 089fa3ad84
3 changed files with 50 additions and 14 deletions

View File

@@ -6,7 +6,7 @@ export const formatNumber = (amt, precision) => {
} else if (amt >= 1e3) {
return (amt/1e3).toPrecision(precision) + "k";
}
return amt
return amt.toPrecision(precision)
}
export const formatThousands = (x) => {