Replace getOrCreateCycleDay

This commit is contained in:
Julia Friesel
2018-11-16 14:24:16 +01:00
parent ecca6cfda9
commit bb0a535d65
18 changed files with 255 additions and 309 deletions
+1 -2
View File
@@ -56,8 +56,7 @@ export default class App extends Component {
if (this.state.currentPage === 'Home') return false
if (isSymptomView(this.state.currentPage)) {
this.navigate(
this.originForSymptomView,
{ cycleDay: this.state.currentProps.cycleDay }
this.originForSymptomView, { date: this.state.currentProps.date }
)
} else if(this.state.currentPage === 'CycleDay') {
this.navigate(this.menuOrigin)