Revert "Monitoring code use of cloneWithProps"

This commit is contained in:
Sebastian Markbåge
2014-12-18 12:13:09 -08:00
parent ba75d7c7af
commit ffa25cb3ae
-2
View File
@@ -16,7 +16,6 @@ var ReactElement = require('ReactElement');
var ReactPropTransferer = require('ReactPropTransferer');
var keyOf = require('keyOf');
var monitorCodeUse = require('monitorCodeUse');
var warning = require('warning');
var CHILDREN_PROP = keyOf({children: null});
@@ -31,7 +30,6 @@ var CHILDREN_PROP = keyOf({children: null});
* @return {object} a clone of child with props merged in.
*/
function cloneWithProps(child, props) {
monitorCodeUse('react_clone_with_props');
if (__DEV__) {
warning(
!child.ref,