Skip to content
Snippets Groups Projects
Commit 547d3f7a authored by Julia Friesel's avatar Julia Friesel
Browse files

Also navigate to day container from 'edit today' button

parent 7dc78ff3
No related branches found
No related tags found
No related merge requests found
...@@ -32,7 +32,7 @@ export default class Home extends Component { ...@@ -32,7 +32,7 @@ export default class Home extends Component {
const todayDateString = LocalDate.now().toString() const todayDateString = LocalDate.now().toString()
const cycleDay = getOrCreateCycleDay(todayDateString) const cycleDay = getOrCreateCycleDay(todayDateString)
const navigate = this.props.navigation.navigate const navigate = this.props.navigation.navigate
navigate('dayView', { cycleDay }) navigate('day', { cycleDay })
} }
render() { render() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment