@@ -1470,7 +1470,7 @@ function handleError(root, thrownValue): void {
14701470 } while ( true ) ;
14711471}
14721472
1473- function pushDispatcher ( root ) {
1473+ function pushDispatcher ( ) {
14741474 const prevDispatcher = ReactCurrentDispatcher . current ;
14751475 ReactCurrentDispatcher . current = ContextOnlyDispatcher ;
14761476 if ( prevDispatcher === null ) {
@@ -1586,7 +1586,7 @@ export function renderHasNotSuspendedYet(): boolean {
15861586function renderRootSync ( root : FiberRoot , lanes : Lanes ) {
15871587 const prevExecutionContext = executionContext ;
15881588 executionContext |= RenderContext ;
1589- const prevDispatcher = pushDispatcher ( root ) ;
1589+ const prevDispatcher = pushDispatcher ( ) ;
15901590
15911591 // If the root or lanes have changed, throw out the existing stack
15921592 // and prepare a fresh one. Otherwise we'll continue where we left off.
@@ -1661,7 +1661,7 @@ function workLoopSync() {
16611661function renderRootConcurrent ( root : FiberRoot , lanes : Lanes ) {
16621662 const prevExecutionContext = executionContext ;
16631663 executionContext |= RenderContext ;
1664- const prevDispatcher = pushDispatcher ( root ) ;
1664+ const prevDispatcher = pushDispatcher ( ) ;
16651665
16661666 // If the root or lanes have changed, throw out the existing stack
16671667 // and prepare a fresh one. Otherwise we'll continue where we left off.
0 commit comments