mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Kepp calling peformWork consistent (#13596)
This commit is contained in:
1 parent
42d12317a7
commit
dd91205617
1 file changed
+1
-1
+1
-1
@@ -2506,7 +2506,7 @@ function flushControlled(fn: () => mixed): void {
|
||||
} finally {
|
||||
isBatchingUpdates = previousIsBatchingUpdates;
|
||||
if (!isBatchingUpdates && !isRendering) {
|
||||
performWork(Sync, null);
|
||||
performSyncWork();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user