mirror of
https://github.com/zhigang1992/react-navigation.git
synced 2026-03-06 22:39:41 +08:00
Remove typo from router docs (#39)
This commit is contained in:
@@ -40,7 +40,7 @@ const MyApp = StackNavigator({
|
||||
}, {
|
||||
initialRouteName: 'Home',
|
||||
})
|
||||
const MyApp.router = {
|
||||
MyApp.router = {
|
||||
...MyApp.router,
|
||||
getStateForAction(action, state) {
|
||||
if (state && action.type === 'PushTwoProfiles') {
|
||||
|
||||
Reference in New Issue
Block a user