allows unselect in bleeding, mucus, cervix and desire

This commit is contained in:
tina
2018-09-21 14:49:14 +02:00
parent a954d5a44b
commit 9c2509af3c
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ export default class Desire extends Component {
<SelectTabGroup
buttons={desireRadioProps}
active={this.state.currentValue}
onSelect={val => this.setState({ currentValue: val })}
onSelect={val => val === this.state.currentValue ? this.setState({ currentValue: null }) : this.setState({ currentValue: val })}
/>
</SymptomSection>
</ScrollView>