Make bleeding view into a child component
This commit is contained in:
+1
-1
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user