This commit is contained in:
Drew DeVault 2017-11-05 17:02:34 -05:00
parent 44cd2324a0
commit e419cfbe97

View File

@ -13,10 +13,10 @@ export default function Ratio({ up, down }) {
return (
<span>
<span>
{ratio.toFixed(3)}
{`${ratio.toFixed(3)} `}
</span>
<span>(${formatAmount(up)} <FontAwesome name="arrow-circle-o-up" /></span>
<span>${formatAmount(up)} <FontAwesome name="arrow-circle-o-down" />)</span>
<span>({formatAmount(up)} <FontAwesome name="arrow-circle-o-up" /></span>
<span>{` ${formatAmount(up)}`} <FontAwesome name="arrow-circle-o-down" />)</span>
</span>
);
}