Skip to content
Snippets Groups Projects
Commit 8f6ae97e authored by emelko's avatar emelko
Browse files

No warning msg if there is no temp data

parent 8715f531
No related branches found
No related tags found
No related merge requests found
......@@ -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 }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment