diff --git a/components/cycle-day/symptoms/sex.js b/components/cycle-day/symptoms/sex.js index 5cb636eaef8b3ccb7955c585c7936c3ed9433eab..6b4bd96fed1def04a494451a38f5e4baa4f29b9c 100644 --- a/components/cycle-day/symptoms/sex.js +++ b/components/cycle-day/symptoms/sex.js @@ -54,8 +54,12 @@ class Sex extends Component { toggleState = (key) => { const curr = this.state[key] this.setState({[key]: !curr}) - if (key === 'other' && !curr) { - this.setState({focusTextArea: true}) + if (key === 'other'){ + if (curr){ + this.setState({note: ""}) + } else { + this.setState({focusTextArea: true}) + } } }