From ee76351917106c6146745432a52e9a54a41ee181 Mon Sep 17 00:00:00 2001 From: Wesley LeMahieu Date: Fri, 30 May 2025 16:31:16 -0700 Subject: [PATCH] fix typo in compiler validation filename (#33345) ## Summary While investigating the root cause of #33208, I noticed a clear typo for one of the validation files. ## How did you test this change? Inside `/react/compiler/packages/babel-plugin-react-compiler` I ran the test script successfully: Screenshot at May 22 16-43-06 --- ...dateNoRefAccesInRender.ts => ValidateNoRefAccessInRender.ts} | 0 .../babel-plugin-react-compiler/src/Validation/index.ts | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename compiler/packages/babel-plugin-react-compiler/src/Validation/{ValidateNoRefAccesInRender.ts => ValidateNoRefAccessInRender.ts} (100%) diff --git a/compiler/packages/babel-plugin-react-compiler/src/Validation/ValidateNoRefAccesInRender.ts b/compiler/packages/babel-plugin-react-compiler/src/Validation/ValidateNoRefAccessInRender.ts similarity index 100% rename from compiler/packages/babel-plugin-react-compiler/src/Validation/ValidateNoRefAccesInRender.ts rename to compiler/packages/babel-plugin-react-compiler/src/Validation/ValidateNoRefAccessInRender.ts diff --git a/compiler/packages/babel-plugin-react-compiler/src/Validation/index.ts b/compiler/packages/babel-plugin-react-compiler/src/Validation/index.ts index 92d53cbd421a0..3bf03f362fa19 100644 --- a/compiler/packages/babel-plugin-react-compiler/src/Validation/index.ts +++ b/compiler/packages/babel-plugin-react-compiler/src/Validation/index.ts @@ -9,7 +9,7 @@ export {validateContextVariableLValues} from './ValidateContextVariableLValues'; export {validateHooksUsage} from './ValidateHooksUsage'; export {validateMemoizedEffectDependencies} from './ValidateMemoizedEffectDependencies'; export {validateNoCapitalizedCalls} from './ValidateNoCapitalizedCalls'; -export {validateNoRefAccessInRender} from './ValidateNoRefAccesInRender'; +export {validateNoRefAccessInRender} from './ValidateNoRefAccessInRender'; export {validateNoSetStateInRender} from './ValidateNoSetStateInRender'; export {validatePreservedManualMemoization} from './ValidatePreservedManualMemoization'; export {validateUseMemo} from './ValidateUseMemo';