diff --git a/src/ui/ratio.js b/src/ui/ratio.js index 28ac95b..7c861e5 100644 --- a/src/ui/ratio.js +++ b/src/ui/ratio.js @@ -1,4 +1,5 @@ import React, { Component } from 'react'; +import FontAwesome from 'react-fontawesome'; import { formatAmount } from '../bitrate'; export default function Ratio({ up, down }) { @@ -11,13 +12,11 @@ export default function Ratio({ up, down }) { } return ( - {`${ - ratio.toFixed(3) - } (${ - formatAmount(up) - } up, ${ - formatAmount(down) - } down)`} + + {ratio.toFixed(3)} + + (${formatAmount(up)} + ${formatAmount(up)} ) ); }