Skip to content

Commit

Permalink
Update FahrenheitConvert.js
Browse files Browse the repository at this point in the history
  • Loading branch information
TheValkDokk committed Oct 6, 2021
1 parent c081559 commit 5a176be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/FahrenheitConvert.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')
}
Expand Down

0 comments on commit 5a176be

Please sign in to comment.