Remove unreachable code
This should've been caught above.
Sebastian Markbage committed
Jun 30, 2016 at 12:55 UTC
6a8cedf9858cfef73f70784a377d5c008360e5a0
1 file changed
-3
src/renderers/shared/fiber/ReactFiberPendingWork.js
-3
@@ -73,9 +73,6 @@ exports.findNextUnitOfWorkAtPriority = function(currentRoot : Fiber, priorityLev
73
current.pendingWorkPriority = NoWork;
74
}
75
if (current === currentRoot) {
76
- if (current.pendingWorkPriority <= priorityLevel) {
77
- current.pendingWorkPriority = NoWork;
78
- }
76
return null;
77
}
78
while (!current.sibling) {