From 58f15553d0006b82a827757732b5f6859032e152 Mon Sep 17 00:00:00 2001 From: RonGamzu Date: Mon, 18 May 2026 23:01:06 +0300 Subject: [PATCH] Fix typo: preceeding -> preceding in comments --- packages/react-client/src/ReactFlightClient.js | 2 +- packages/react-server/src/ReactFlightAsyncSequence.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react-client/src/ReactFlightClient.js b/packages/react-client/src/ReactFlightClient.js index f67d99ba71de..0066ae5fd714 100644 --- a/packages/react-client/src/ReactFlightClient.js +++ b/packages/react-client/src/ReactFlightClient.js @@ -5258,7 +5258,7 @@ export function processStringChunk( // We found the last chunk of the row if (buffer.length > 0) { // If we had a buffer already, it means that this chunk was split up into - // binary chunks preceeding it. + // binary chunks preceding it. throw new Error( 'String chunks need to be passed in their original shape. ' + 'Not split into smaller string chunks. ' + diff --git a/packages/react-server/src/ReactFlightAsyncSequence.js b/packages/react-server/src/ReactFlightAsyncSequence.js index 380e6d9dbafc..d82756befb38 100644 --- a/packages/react-server/src/ReactFlightAsyncSequence.js +++ b/packages/react-server/src/ReactFlightAsyncSequence.js @@ -31,7 +31,7 @@ export type IONode = { end: number, // we typically don't use this. only when there's no promise intermediate. promise: null, // not used on I/O awaited: null, // I/O is only blocked on external. - previous: null | AwaitNode | UnresolvedAwaitNode, // the preceeding await that spawned this new work + previous: null | AwaitNode | UnresolvedAwaitNode, // the preceding await that spawned this new work }; export type PromiseNode = {