Skip to content

Commit dd91205

Browse files
NE-SmallTownnhunzaker
authored andcommitted
Kepp calling peformWork consistent (react#13596)
1 parent 42d1231 commit dd91205

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/react-reconciler/src/ReactFiberScheduler.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2506,7 +2506,7 @@ function flushControlled(fn: () => mixed): void {
25062506
} finally {
25072507
isBatchingUpdates = previousIsBatchingUpdates;
25082508
if (!isBatchingUpdates && !isRendering) {
2509-
performWork(Sync, null);
2509+
performSyncWork();
25102510
}
25112511
}
25122512
}

0 commit comments

Comments
 (0)