Fix incorrect onBegin/onEnd timer pair
Dan Abramov committed
Apr 29, 2016 at 21:02 UTC
8b9b79eb6b90e42a1b9e3cf2f05100dc4f6e4db5
1 file changed
+1
-1
src/renderers/shared/reconciler/ReactCompositeComponent.js
+1
-1
@@ -394,7 +394,7 @@ var ReactCompositeComponentMixin = {
394
instanceOrElement = Component(publicProps, publicContext, ReactUpdateQueue);
395
if (__DEV__) {
396
if (this._debugID !== 0) {
397
- ReactInstrumentation.debugTool.onBeginLifeCycleTimer(
397
+ ReactInstrumentation.debugTool.onEndLifeCycleTimer(
398
this._debugID,
399
'render'
400
);