Merge branch '466-bug-temp-hint-for-too-high-or-low-value-shows-at-the-start' into 'rebased-redesign'
No warning msg if there is no temp data See merge request bloodyhealth/drip!322
This commit is contained in:
@@ -33,7 +33,7 @@ export const isPreviousTemperature = (temperature) => {
|
||||
}
|
||||
|
||||
export const isTemperatureOutOfRange = (temperature) => {
|
||||
if (temperature === '') return null
|
||||
if (!temperature) return null
|
||||
|
||||
const value = Number(temperature)
|
||||
const range = { min: TEMP_MIN, max: TEMP_MAX }
|
||||
|
||||
Reference in New Issue
Block a user