Refactor: more word doubles removed (#25352)
Vic Graf committed
Sep 29, 2022 at 15:57 UTC
20a257c259c265d25ece77ee3c18f353b4b9a925
4 files changed
+5
-5
packages/react-dom/src/__tests__/ReactDOMEventPropagation-test.js
+2
-2
@@ -1932,7 +1932,7 @@ describe('ReactDOMEventListener', () => {
1932
// Since the element is created by the inner React, the bubbling
1933
// stops at the inner parent and never reaches the outer React.
1934
// 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.
1936
expect(log).toEqual(unindent`
1937
- outer parent capture
1938
-- outer capture
@@ -2096,7 +2096,7 @@ describe('ReactDOMEventListener', () => {
2096
// Since the element is created by the inner React, the bubbling
2097
// stops at the inner parent and never reaches the outer React.
2098
// 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.
2100
expect(log).toEqual(unindent`
2101
- outer parent capture
2102
-- outer capture
packages/shared/CheckStringCoercion.js
+1
-1
@@ -8,7 +8,7 @@
8
*/
9
10
/*
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
12
* and Temporal.* types. See https://github.com/facebook/react/pull/22064.
13
*
14
* The functions in this module will throw an easier-to-understand,
packages/shared/ReactFeatureFlags.js
+1
-1
@@ -126,7 +126,7 @@ export const enableUseEventHook = __EXPERIMENTAL__;
126
// Chopping Block
127
//
128
// 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.
130
// -----------------------------------------------------------------------------
131
132
// This flag enables Strict Effects by default. We're not turning this on until
scripts/rollup/validate/index.js
+1
-1
@@ -23,7 +23,7 @@ function getFormat(filepath) {
23
if (filepath.includes('shims')) {
24
// We don't currently lint these shims. We rely on the downstream Facebook
25
// repo to transform them.
26
- // TODO: Should we we lint them?
26
+ // TODO: Should we lint them?
27
return null;
28
}
29
return 'rn';