Fixes the cycle day data is not being passed to the symptom view
This commit is contained in:
1 parent
16cc2cef5c
commit
525defa1c9
3 files changed
+15
-10
No files matched your search
@@ -33,7 +33,8 @@ class CycleDayOverView extends Component {
|
||||
}
|
||||
|
||||
navigate(symptom) {
|
||||
this.props.navigate(symptom)
|
||||
const { cycleDay } = this.state
|
||||
this.props.navigate(symptom, cycleDay)
|
||||
}
|
||||
|
||||
render() {
|
||||
@@ -77,7 +78,7 @@ class CycleDayOverView extends Component {
|
||||
key={symptom}
|
||||
symptom={symptom}
|
||||
symptomData={symptomData}
|
||||
onPress={() => this.navigate(symptomEditView)}
|
||||
onPress={() => this.navigate(symptomEditView, symptomData)}
|
||||
disabled={dateInFuture}
|
||||
/>)
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user