mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-22 11:16:06 +08:00
Fix typo (shoud -> should)
Summary: Closes https://github.com/facebook/react-native/pull/7928 Differential Revision: D3390537 fbshipit-source-id: 97ce2331d0942ffe21078b3aec27daed20cd8af5
This commit is contained in:
committed by
Facebook Github Bot 2
parent
b91bf8eeac
commit
f49f28ce15
@@ -149,7 +149,7 @@ class RouteStack {
|
||||
* excluding the last index in this stack.
|
||||
*/
|
||||
pop(): RouteStack {
|
||||
invariant(this._routeNodes.size > 1, 'shoud not pop routeNodes stack to empty');
|
||||
invariant(this._routeNodes.size > 1, 'should not pop routeNodes stack to empty');
|
||||
|
||||
// When popping, removes the rest of the routes past the current index.
|
||||
var routeNodes = this._routeNodes.slice(0, this._index);
|
||||
|
||||
Reference in New Issue
Block a user