remove unreachable condition

This commit is contained in:
Ryan Vazquez
2020-11-20 10:59:34 -05:00
parent c93a14b496
commit 640c59fae7
@@ -88,10 +88,6 @@ export function formatPercent(n: number): string {
return `>1000%`;
}
if (Math.abs(n) >= 1e19) {
return '∞%';
}
return `${(n * 100).toFixed(0)}%`;
}