Skip to content

Commit

Permalink
Fix a spelling mistake. (#28555)
Browse files Browse the repository at this point in the history
  • Loading branch information
bubucuo authored Mar 14, 2024
1 parent bbc571a commit 9ffe910
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
10 changes: 5 additions & 5 deletions packages/react-reconciler/src/ReactChildFiber.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ import {isCompatibleFamilyForHotReloading} from './ReactFiberHotReloading';
import {getIsHydrating} from './ReactFiberHydrationContext';
import {pushTreeFork} from './ReactFiberTreeContext';
import {createThenableState, trackUsedThenable} from './ReactFiberThenable';
import {readContextDuringReconcilation} from './ReactFiberNewContext';
import {readContextDuringReconciliation} from './ReactFiberNewContext';

// This tracks the thenables that are unwrapped during reconcilation.
let thenableState: ThenableState | null = null;
Expand Down Expand Up @@ -746,7 +746,7 @@ function createChildReconciler(
const context: ReactContext<mixed> = (newChild: any);
return createChild(
returnFiber,
readContextDuringReconcilation(returnFiber, context, lanes),
readContextDuringReconciliation(returnFiber, context, lanes),
lanes,
debugInfo,
);
Expand Down Expand Up @@ -873,7 +873,7 @@ function createChildReconciler(
return updateSlot(
returnFiber,
oldFiber,
readContextDuringReconcilation(returnFiber, context, lanes),
readContextDuringReconciliation(returnFiber, context, lanes),
lanes,
debugInfo,
);
Expand Down Expand Up @@ -994,7 +994,7 @@ function createChildReconciler(
existingChildren,
returnFiber,
newIdx,
readContextDuringReconcilation(returnFiber, context, lanes),
readContextDuringReconciliation(returnFiber, context, lanes),
lanes,
debugInfo,
);
Expand Down Expand Up @@ -1710,7 +1710,7 @@ function createChildReconciler(
return reconcileChildFibersImpl(
returnFiber,
currentFirstChild,
readContextDuringReconcilation(returnFiber, context, lanes),
readContextDuringReconciliation(returnFiber, context, lanes),
lanes,
debugInfo,
);
Expand Down
2 changes: 1 addition & 1 deletion packages/react-reconciler/src/ReactFiberNewContext.js
Original file line number Diff line number Diff line change
Expand Up @@ -715,7 +715,7 @@ export function readContext<T>(context: ReactContext<T>): T {
return readContextForConsumer(currentlyRenderingFiber, context);
}

export function readContextDuringReconcilation<T>(
export function readContextDuringReconciliation<T>(
consumer: Fiber,
context: ReactContext<T>,
renderLanes: Lanes,
Expand Down

0 comments on commit 9ffe910

Please sign in to comment.