Skip to content

Commit 7354a69

Browse files
committed
Revert "Monitoring code use of cloneWithProps"
1 parent 11785db commit 7354a69

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/utils/cloneWithProps.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ var ReactElement = require('ReactElement');
1616
var ReactPropTransferer = require('ReactPropTransferer');
1717

1818
var keyOf = require('keyOf');
19-
var monitorCodeUse = require('monitorCodeUse');
2019
var warning = require('warning');
2120

2221
var CHILDREN_PROP = keyOf({children: null});
@@ -31,7 +30,6 @@ var CHILDREN_PROP = keyOf({children: null});
3130
* @return {object} a clone of child with props merged in.
3231
*/
3332
function cloneWithProps(child, props) {
34-
monitorCodeUse('react_clone_with_props');
3533
if (__DEV__) {
3634
warning(
3735
!child.ref,

0 commit comments

Comments
 (0)