From 45a321d686231c85e8d6ec5b56b888fe6614afff Mon Sep 17 00:00:00 2001 From: yuanyan Date: Thu, 3 Mar 2016 23:08:47 +0800 Subject: [PATCH] Remove dead code. --- src/renderers/shared/reconciler/ReactCompositeComponent.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderers/shared/reconciler/ReactCompositeComponent.js b/src/renderers/shared/reconciler/ReactCompositeComponent.js index 65b28c6c77..68fd901bd9 100644 --- a/src/renderers/shared/reconciler/ReactCompositeComponent.js +++ b/src/renderers/shared/reconciler/ReactCompositeComponent.js @@ -630,7 +630,7 @@ var ReactCompositeComponentMixin = { if (this._pendingElement != null) { ReactReconciler.receiveComponent( this, - this._pendingElement || this._currentElement, + this._pendingElement, transaction, this._context );