Make bleeding view into a child component

This commit is contained in:
Julia Friesel
2018-06-14 11:11:23 +02:00
parent 7e66b4897f
commit 2a1c7fce7c
5 changed files with 69 additions and 41 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ export default class DatePickView extends Component {
passDateToDayView(result) {
const cycleDay = getOrCreateCycleDay(result.dateString)
const navigate = this.props.navigation.navigate
navigate('dayView', { cycleDay })
navigate('day', { cycleDay })
}
render() {