Skip to content

Commit

Permalink
remove commented portion
Browse files Browse the repository at this point in the history
  • Loading branch information
freeman-lab committed Sep 5, 2023
1 parent ba9d14c commit ae2914d
Showing 1 changed file with 0 additions and 47 deletions.
47 changes: 0 additions & 47 deletions articles/extreme-heat-explainer/components/heat-calculator.js
Original file line number Diff line number Diff line change
Expand Up @@ -109,53 +109,6 @@ const f = {
wind: format('.1f'),
}

// const d = {
// temperature: (v) => {
// if (v < 20) {
// return 'low'
// }
// if (v >= 20 && v < 40) {
// return 'med'
// }
// if (v > 40) {
// return 'high'
// }
// },
// humidity: (v) => {
// if (v < 33) {
// return 'low'
// }
// if (v >= 33 && v < 66) {
// return 'med'
// }
// if (v >= 66) {
// return 'high'
// }
// },
// radiation: (v) => {
// if (v < 200) {
// return 'low'
// }
// if (v >= 200 && v < 600) {
// return 'med'
// }
// if (v >= 600) {
// return 'high'
// }
// },
// wind: (v) => {
// if (v < 2) {
// return 'low'
// }
// if (v >= 2 && v < 5) {
// return 'med'
// }
// if (v >= 5) {
// return 'high'
// }
// },
// }

const HeatCalculator = () => {
const [temperature, setTemperature] = useState(32)
const [humidity, setHumidity] = useState(60)
Expand Down

0 comments on commit ae2914d

Please sign in to comment.