diff --git a/src/components/FahrenheitConvert.js b/src/components/FahrenheitConvert.js index 40422e7..4f4e5d0 100644 --- a/src/components/FahrenheitConvert.js +++ b/src/components/FahrenheitConvert.js @@ -6,7 +6,7 @@ export default function DoMath() { function check(val) { const calc = require('../scripts/CalcF2C') val.target.value !== '' ? - setResult(calc(val.target.value) + ' C') + setResult(calc(val.target.value)) : setResult('NaN') }