diff --git a/components/cycle-day/symptoms/temperature.js b/components/cycle-day/symptoms/temperature.js index c2e2575..d053957 100644 --- a/components/cycle-day/symptoms/temperature.js +++ b/components/cycle-day/symptoms/temperature.js @@ -56,7 +56,7 @@ export default class Temp extends SymptomView { symptomName = 'temperature' onBackButtonPress() { - if (this.state.temperature === '') { + if (typeof this.state.temperature != 'string' || this.state.temperature === '') { this.deleteSymptomEntry() return }