Fix typo in removeComponentAsRefFrom error message.

This commit is contained in:
Richard Feldman committed 2015-07-20 11:16:15 -07:00
1 parent 21fff2daa6
commit c13588ef0a
1 file changed
+1 -1
@@ -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.'