diff --git a/components/helpers/cycle-day.js b/components/helpers/cycle-day.js index aae8a3f..1912284 100644 --- a/components/helpers/cycle-day.js +++ b/components/helpers/cycle-day.js @@ -33,7 +33,7 @@ export const isPreviousTemperature = (temperature) => { } export const isTemperatureOutOfRange = (temperature) => { - if (temperature === '') return null + if (temperature === null) return null const value = Number(temperature) const range = { min: TEMP_MIN, max: TEMP_MAX }