mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Remove unused argument from finishConcurrentRender (#19689)
This commit is contained in:
@@ -859,7 +859,7 @@ function performConcurrentWorkOnRoot(root) {
|
||||
const finishedWork: Fiber = (root.current.alternate: any);
|
||||
root.finishedWork = finishedWork;
|
||||
root.finishedLanes = lanes;
|
||||
finishConcurrentRender(root, finishedWork, exitStatus, lanes);
|
||||
finishConcurrentRender(root, exitStatus, lanes);
|
||||
}
|
||||
|
||||
ensureRootIsScheduled(root, now());
|
||||
@@ -871,7 +871,7 @@ function performConcurrentWorkOnRoot(root) {
|
||||
return null;
|
||||
}
|
||||
|
||||
function finishConcurrentRender(root, finishedWork, exitStatus, lanes) {
|
||||
function finishConcurrentRender(root, exitStatus, lanes) {
|
||||
switch (exitStatus) {
|
||||
case RootIncomplete:
|
||||
case RootFatalErrored: {
|
||||
|
||||
@@ -847,7 +847,7 @@ function performConcurrentWorkOnRoot(root) {
|
||||
const finishedWork: Fiber = (root.current.alternate: any);
|
||||
root.finishedWork = finishedWork;
|
||||
root.finishedLanes = lanes;
|
||||
finishConcurrentRender(root, finishedWork, exitStatus, lanes);
|
||||
finishConcurrentRender(root, exitStatus, lanes);
|
||||
}
|
||||
|
||||
ensureRootIsScheduled(root, now());
|
||||
@@ -859,7 +859,7 @@ function performConcurrentWorkOnRoot(root) {
|
||||
return null;
|
||||
}
|
||||
|
||||
function finishConcurrentRender(root, finishedWork, exitStatus, lanes) {
|
||||
function finishConcurrentRender(root, exitStatus, lanes) {
|
||||
switch (exitStatus) {
|
||||
case RootIncomplete:
|
||||
case RootFatalErrored: {
|
||||
|
||||
Reference in New Issue
Block a user