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:
Kasim Tan
2016-06-04 16:30:19 -07:00
committed by Facebook Github Bot 2
parent b91bf8eeac
commit f49f28ce15
2 changed files with 2 additions and 2 deletions

View File

@@ -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);