File tree Expand file tree Collapse file tree 2 files changed +1
-3
lines changed
react-dom-bindings/src/client Expand file tree Collapse file tree 2 files changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -3401,7 +3401,7 @@ export function suspendResource(
34013401 }
34023402}
34033403
3404- export function waitForCommitToBeReady ( ) : null | ( ( ( ) => any ) => Function ) {
3404+ export function waitForCommitToBeReady ( ) : null | ( ( ( ) => void ) => Function ) {
34053405 if ( suspendedState === null ) {
34063406 throw new Error (
34073407 'Internal React Error: suspendedState null when it was expected to exists. Please report this as a React bug.' ,
Original file line number Diff line number Diff line change @@ -3089,8 +3089,6 @@ function commitRoot(
30893089 ReactSharedInternals . T = prevTransition ;
30903090 setCurrentUpdatePriority ( previousUpdateLanePriority ) ;
30913091 }
3092-
3093- return null ;
30943092}
30953093
30963094function commitRootImpl (
You can’t perform that action at this time.
0 commit comments