Rename screen in navigtor
This commit is contained in:
@@ -2,7 +2,7 @@ import { createStackNavigator } from 'react-navigation'
|
||||
import Home from './home'
|
||||
|
||||
import Calendar from './calendar'
|
||||
import Day from './cycle-day'
|
||||
import CycleDay from './cycle-day'
|
||||
|
||||
// this is until react native fixes this bug, see https://github.com/facebook/react-native/issues/18868#issuecomment-382671739
|
||||
import { YellowBox } from 'react-native'
|
||||
@@ -11,5 +11,5 @@ YellowBox.ignoreWarnings(['Warning: isMounted(...) is deprecated'])
|
||||
export default createStackNavigator({
|
||||
home: { screen: Home },
|
||||
calendar: { screen: Calendar },
|
||||
day: { screen: Day }
|
||||
cycleDay: { screen: CycleDay }
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user