Skip to content

Commit

Permalink
Merge pull request #4435 from rtfeldman/fix-error-message
Browse files Browse the repository at this point in the history
Fix typo in removeComponentAsRefFrom error message
  • Loading branch information
zpao committed Jul 20, 2015
2 parents 21fff2d + c13588e commit d66fd21
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderers/shared/reconciler/ReactOwner.js
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ var ReactOwner = {
invariant(
ReactOwner.isValidOwner(owner),
'removeComponentAsRefFrom(...): Only a ReactOwner can have refs. This ' +
'usually means that you\'re trying to remove a ref to a component that ' +
'usually means that you\'re trying to remove a ref from a component that ' +
'doesn\'t have an owner (that is, was not created inside of another ' +
'component\'s `render` method). Try rendering this component inside of ' +
'a new top-level component which will hold the ref.'
Expand Down

0 comments on commit d66fd21

Please sign in to comment.