Skip to content

Commit f6abf4b

Browse files
authored
Fix typos (#22494)
1 parent c213030 commit f6abf4b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/react-devtools-shared/src/backend/legacy/renderer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -716,7 +716,7 @@ export function attach(
716716

717717
// Any time an inspected element has an update,
718718
// we should update the selected $r value as wel.
719-
// Do this before dehyration (cleanForBridge).
719+
// Do this before dehydration (cleanForBridge).
720720
updateSelectedElement(id);
721721

722722
inspectedElement.context = cleanForBridge(

packages/react-dom/src/test-utils/ReactTestUtils.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ function findAllInRenderedTree(inst, test) {
178178
}
179179

180180
/**
181-
* Finds all instance of components in the rendered tree that are DOM
181+
* Finds all instances of components in the rendered tree that are DOM
182182
* components with the class name matching `className`.
183183
* @return {array} an array of all the matches.
184184
*/
@@ -233,7 +233,7 @@ function findRenderedDOMComponentWithClass(root, className) {
233233
}
234234

235235
/**
236-
* Finds all instance of components in the rendered tree that are DOM
236+
* Finds all instances of components in the rendered tree that are DOM
237237
* components with the tag name matching `tagName`.
238238
* @return {array} an array of all the matches.
239239
*/

0 commit comments

Comments
 (0)