Skip to content

Commit 20a257c

Browse files
authored
Refactor: more word doubles removed (#25352)
1 parent 8cadcff commit 20a257c

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

packages/react-dom/src/__tests__/ReactDOMEventPropagation-test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1932,7 +1932,7 @@ describe('ReactDOMEventListener', () => {
19321932
// Since the element is created by the inner React, the bubbling
19331933
// stops at the inner parent and never reaches the outer React.
19341934
// In the future, we might consider not bubbling these events
1935-
// at all, in in which case inner parent also wouldn't be logged.
1935+
// at all, in which case inner parent also wouldn't be logged.
19361936
expect(log).toEqual(unindent`
19371937
- outer parent capture
19381938
-- outer capture
@@ -2096,7 +2096,7 @@ describe('ReactDOMEventListener', () => {
20962096
// Since the element is created by the inner React, the bubbling
20972097
// stops at the inner parent and never reaches the outer React.
20982098
// In the future, we might consider not bubbling these events
2099-
// at all, in in which case inner parent also wouldn't be logged.
2099+
// at all, in which case inner parent also wouldn't be logged.
21002100
expect(log).toEqual(unindent`
21012101
- outer parent capture
21022102
-- outer capture

packages/shared/CheckStringCoercion.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*/
99

1010
/*
11-
* The `'' + value` pattern (used in in perf-sensitive code) throws for Symbol
11+
* The `'' + value` pattern (used in perf-sensitive code) throws for Symbol
1212
* and Temporal.* types. See https://github.com/facebook/react/pull/22064.
1313
*
1414
* The functions in this module will throw an easier-to-understand,

packages/shared/ReactFeatureFlags.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ export const enableUseEventHook = __EXPERIMENTAL__;
126126
// Chopping Block
127127
//
128128
// Planned feature deprecations and breaking changes. Sorted roughly in order of
129-
// when we we plan to enable them.
129+
// when we plan to enable them.
130130
// -----------------------------------------------------------------------------
131131

132132
// This flag enables Strict Effects by default. We're not turning this on until

scripts/rollup/validate/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ function getFormat(filepath) {
2323
if (filepath.includes('shims')) {
2424
// We don't currently lint these shims. We rely on the downstream Facebook
2525
// repo to transform them.
26-
// TODO: Should we we lint them?
26+
// TODO: Should we lint them?
2727
return null;
2828
}
2929
return 'rn';

0 commit comments

Comments
 (0)