Remove unused argument from finishConcurrentRender (#19689)

This commit is contained in:
inottn
2020-08-25 13:49:57 +01:00
committed by GitHub
parent af219cc6e6
commit c4e0768d74
2 changed files with 4 additions and 4 deletions
@@ -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: {