From 3d615fc14aff7586a2080d7da182497ba7ec1bec Mon Sep 17 00:00:00 2001 From: Victoria Graf <69855483+Vicachu42@users.noreply.github.com> Date: Mon, 19 Sep 2022 16:04:03 +0200 Subject: [PATCH] Grammar. Removed doubles of the word "the". (#25295) --- .../react-devtools-shared/src/__tests__/preprocessData-test.js | 2 +- packages/react-reconciler/src/ReactFiberWorkLoop.new.js | 2 +- packages/react-reconciler/src/ReactFiberWorkLoop.old.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/react-devtools-shared/src/__tests__/preprocessData-test.js b/packages/react-devtools-shared/src/__tests__/preprocessData-test.js index d6d49d28c6ca5..22fd7ef30ea51 100644 --- a/packages/react-devtools-shared/src/__tests__/preprocessData-test.js +++ b/packages/react-devtools-shared/src/__tests__/preprocessData-test.js @@ -1926,7 +1926,7 @@ describe('Timeline profiler', () => { }); // Note the in-memory tests vary slightly (e.g. timestamp values, lane numbers) from the above tests. - // That's okay; the important thing is the the lane-to-label matches the subsequent events/measures. + // That's okay; the important thing is the lane-to-label matches the subsequent events/measures. describe('DevTools hook (in memory)', () => { let store; diff --git a/packages/react-reconciler/src/ReactFiberWorkLoop.new.js b/packages/react-reconciler/src/ReactFiberWorkLoop.new.js index dc5efade1120d..c356ed4f38e59 100644 --- a/packages/react-reconciler/src/ReactFiberWorkLoop.new.js +++ b/packages/react-reconciler/src/ReactFiberWorkLoop.new.js @@ -1983,7 +1983,7 @@ function renderRootConcurrent(root: FiberRoot, lanes: Lanes) { handleThrow(root, thrownValue); if (isTrackingSuspendedThenable()) { // If this fiber just suspended, it's possible the data is already - // cached. Yield to the the main thread to give it a chance to ping. If + // cached. Yield to the main thread to give it a chance to ping. If // it does, we can retry immediately without unwinding the stack. break; } diff --git a/packages/react-reconciler/src/ReactFiberWorkLoop.old.js b/packages/react-reconciler/src/ReactFiberWorkLoop.old.js index d8d29c496495e..6250330b6e957 100644 --- a/packages/react-reconciler/src/ReactFiberWorkLoop.old.js +++ b/packages/react-reconciler/src/ReactFiberWorkLoop.old.js @@ -1983,7 +1983,7 @@ function renderRootConcurrent(root: FiberRoot, lanes: Lanes) { handleThrow(root, thrownValue); if (isTrackingSuspendedThenable()) { // If this fiber just suspended, it's possible the data is already - // cached. Yield to the the main thread to give it a chance to ping. If + // cached. Yield to the main thread to give it a chance to ping. If // it does, we can retry immediately without unwinding the stack. break; }