Adjust params
Jignesh Kakadiya committed
Dec 26, 2013 at 12:17 UTC
ecf9f8ef6d1b075bb3cbbc6896b1b8f2766670d1
1 file changed
+3
-3
src/core/ReactOwner.js
+3
-3
@@ -80,8 +80,8 @@ var ReactOwner = {
80
'addComponentAsRefTo(...): Only a ReactOwner can have refs. This ' +
81
'usually means that you\'re trying to add a ref to a component that ' +
82
'doesn\'t have an owner (that is, was not created inside of another ' +
83
- 'component\'s `render` method. Try rendering this component inside of ' +
84
- 'a new top-level component which will hold the ref.'
83
+ 'component\'s `render` method). Try rendering this component inside of ' +
84
+ 'a new top-level component which will hold the ref.)'
85
);
86
owner.attachRef(ref, component);
87
},
@@ -101,7 +101,7 @@ var ReactOwner = {
101
'removeComponentAsRefFrom(...): Only a ReactOwner can have refs. This ' +
102
'usually means that you\'re trying to remove a ref to a component that ' +
103
'doesn\'t have an owner (that is, was not created inside of another ' +
104
- 'component\'s `render` method. Try rendering this component inside of ' +
104
+ 'component\'s `render` method). Try rendering this component inside of ' +
105
'a new top-level component which will hold the ref.'
106
);
107
// Check that `component` is still the current ref because we do not want to