Skip to content

Commit

Permalink
Fixes language in error message. (facebook#12590)
Browse files Browse the repository at this point in the history
  • Loading branch information
sfrieson authored and rhagigi committed Apr 19, 2018
1 parent 3893cc9 commit e756388
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 e756388

Please sign in to comment.