typo in the error message (missing a space due to newline)
Summary: Thanks for submitting a pull request! Please provide enough information so that others can review your pull request: (You can skip this if you're fixing a typo or adding an app to the Showcase.) Explain the **motivation** for making this change. What existing problem does the pull request solve? Prefer **small pull requests**. These are much easier to review and more likely to get merged. Make sure the PR does only one thing, otherwise please split it. **Test plan (required)** Demonstrate the code is solid. Example: The exact commands you ran and their output, screenshots / videos if the pull request changes UI. Make sure tests pass on both Travis and Circle CI. **Code formatting** Look around. Match the style of the rest of the codebase. See also the simple [style guide](https://github.com/facebook/react-native/blob/master/CONTRIBUTING.md#style-guide). For more info, see the ["Pull Requests" section of our "Contributing" guidelines](https://github.com/facebook/react-native/blob/mas Closes https://github.com/facebook/react-native/pull/7974 Differential Revision: D3401208 Pulled By: nicklockwood fbshipit-source-id: 7c807339ba512e05f848036fb40840cf3fee8df6
This commit is contained in:
parent
5b871ad9d7
commit
f8cbd9f4f4
|
@ -122,7 +122,7 @@ function NavigationScenesReducer(
|
|||
};
|
||||
invariant(
|
||||
!nextKeys.has(key),
|
||||
`navigationState.routes[${index}].key "${key}" conflicts with` +
|
||||
`navigationState.routes[${index}].key "${key}" conflicts with ` +
|
||||
'another route!'
|
||||
);
|
||||
nextKeys.add(key);
|
||||
|
|
Loading…
Reference in New Issue