Skip to content

Commit

Permalink
Fixes language in error message. (#12590)
Browse files Browse the repository at this point in the history
  • Loading branch information
sfrieson authored and gaearon committed Apr 10, 2018
1 parent 52afbe0 commit 3eae866
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-noop-renderer/src/ReactNoop.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ let SharedHostConfig = {
throw new Error('Should have old props');
}
if (newProps === null) {
throw new Error('Should have old props');
throw new Error('Should have new props');
}
return UPDATE_SIGNAL;
},
Expand Down

0 comments on commit 3eae866

Please sign in to comment.