Use ∞ instead of Infinity

This commit is contained in:
Drew DeVault 2017-10-01 12:22:32 -04:00
parent 45fa056cab
commit 714df4eb67

View File

@ -6,6 +6,9 @@ export default function Ratio({ up, down }) {
if (isNaN(ratio)) {
return <span>0</span>;
}
if (!isFinite(ratio)) {
return <span></span>;
}
return (
<span>
{`${