mirror of
https://github.com/facebook/react.git
synced 2026-11-18 20:15:56 +00:00
Remove unreachable code
This should've been caught above.
This commit is contained in:
1 parent
4a8651412d
commit
6a8cedf985
1 file changed
-3
@@ -73,9 +73,6 @@ exports.findNextUnitOfWorkAtPriority = function(currentRoot : Fiber, priorityLev
|
||||
current.pendingWorkPriority = NoWork;
|
||||
}
|
||||
if (current === currentRoot) {
|
||||
if (current.pendingWorkPriority <= priorityLevel) {
|
||||
current.pendingWorkPriority = NoWork;
|
||||
}
|
||||
return null;
|
||||
}
|
||||
while (!current.sibling) {
|
||||
|
||||
Reference in new issue
Block a user