mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
Fix typo "becuase" -> "because" in processFilter comment (#57746)
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
This commit is contained in:
1 parent
ece0efe837
commit
3fd02591bf
1 file changed
+2
-2
@@ -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 [];
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user