Skip to content
This repository has been archived by the owner on Apr 12, 2022. It is now read-only.

Commit

Permalink
❤️ Some shit. 😍
Browse files Browse the repository at this point in the history
  • Loading branch information
nicodinh committed Mar 17, 2020
1 parent b1c06ee commit c4c2ee8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion components/FindButton.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,10 @@ const FindButton = () => {
const hex2dec = parseInt(a[2], 16)
const celcius = hex2dec / 10

// console.log(celcius)
console.log(unit)
console.log(celcius)
console.log(celciusToFahrenheit(celcius))

unit === 'C'
? addTemperature(celcius)
: addTemperature(celciusToFahrenheit(celcius))
Expand Down

0 comments on commit c4c2ee8

Please sign in to comment.