Merge pull request #4435 from rtfeldman/fix-error-message

Fix typo in removeComponentAsRefFrom error message
This commit is contained in:
Paul O’Shannessy
2015-07-20 13:04:00 -07:00
@@ -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.'