From 3fd02591bfda7b6b5d7a6cdc37d4b258c66f9f44 Mon Sep 17 00:00:00 2001 From: Aravind M Nair Date: Wed, 29 Jul 2026 06:22:59 -0700 Subject: [PATCH] Fix typo "becuase" -> "because" in processFilter comment (#57746) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Summary: Corrects a spelling mistake ("becuase" -> "because") in the explanatory comment for the invalid-primitive short-circuit in `processFilter.js`. The same comment appears twice; both occurrences are fixed. This is a comment-only change with no runtime behavior change. ## Changelog: [INTERNAL] [FIXED] - Fix typo in processFilter.js comment Pull Request resolved: https://github.com/react/react-native/pull/57746 Test Plan: Comment-only change — no runtime behavior is affected, so there is nothing to exercise at runtime. - The diff touches only comment text: 2 lines, both `becuase` -> `because` (`packages/react-native/Libraries/StyleSheet/processFilter.js`). - No code tokens changed, so existing type-checking, lint, and tests for this file remain valid. Reviewed By: javache Differential Revision: D114031572 Pulled By: fabriziocucci fbshipit-source-id: 3b380170f85f03daef700bd6f776570e59fc6a20 --- packages/react-native/Libraries/StyleSheet/processFilter.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react-native/Libraries/StyleSheet/processFilter.js b/packages/react-native/Libraries/StyleSheet/processFilter.js index daf37ea2553..50e3e04ef1b 100644 --- a/packages/react-native/Libraries/StyleSheet/processFilter.js +++ b/packages/react-native/Libraries/StyleSheet/processFilter.js @@ -83,7 +83,7 @@ export default function processFilter( result.push(filterFunction); } else { // If any primitive is invalid then apply none of the filters. This is how - // web works and makes it clear that something is wrong becuase no + // web works and makes it clear that something is wrong because no // graphical effects are happening. return []; } @@ -110,7 +110,7 @@ export default function processFilter( result.push(resultObject); } else { // If any primitive is invalid then apply none of the filters. This is how - // web works and makes it clear that something is wrong becuase no + // web works and makes it clear that something is wrong because no // graphical effects are happening. return []; }