File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/react-reconciler/src Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -83,7 +83,6 @@ import {
83
83
supportsMicrotasks ,
84
84
errorHydratingContainer ,
85
85
scheduleMicrotask ,
86
- requestPostPaintCallback ,
87
86
} from './ReactFiberHostConfig' ;
88
87
89
88
import {
@@ -261,6 +260,7 @@ import {
261
260
suspendedThenableDidResolve ,
262
261
isTrackingSuspendedThenable ,
263
262
} from './ReactFiberWakeable.old' ;
263
+ import { schedulePostPaintCallback } from './ReactPostPaintCallback' ;
264
264
265
265
const ceil = Math . ceil ;
266
266
@@ -2653,7 +2653,7 @@ function commitRootImpl(
2653
2653
// and then call the callback via the correct end time.
2654
2654
const prevRootTransitionCallbacks = root . transitionCallbacks ;
2655
2655
if ( prevRootTransitionCallbacks !== null ) {
2656
- requestPostPaintCallback ( endTime => {
2656
+ schedulePostPaintCallback ( endTime => {
2657
2657
const prevPendingTransitionCallbacks = currentPendingTransitionCallbacks ;
2658
2658
if ( prevPendingTransitionCallbacks !== null ) {
2659
2659
currentPendingTransitionCallbacks = null ;
You can’t perform that action at this time.
0 commit comments