Fix typo in removeComponentAsRefFrom error message.
Richard Feldman committed
Jul 20, 2015 at 11:03 UTC
c13588ef0a48fe06f8d0509107a29ad6bc9258ca
1 file changed
+1
-1
src/renderers/shared/reconciler/ReactOwner.js
+1
-1
@@ -92,7 +92,7 @@ var ReactOwner = {
92
invariant(
93
ReactOwner.isValidOwner(owner),
94
'removeComponentAsRefFrom(...): Only a ReactOwner can have refs. This ' +
95
- 'usually means that you\'re trying to remove a ref to a component that ' +
95
+ 'usually means that you\'re trying to remove a ref from a component that ' +
96
'doesn\'t have an owner (that is, was not created inside of another ' +
97
'component\'s `render` method). Try rendering this component inside of ' +
98
'a new top-level component which will hold the ref.'