Skip to content

Commit 15e9b27

Browse files
KonstHardyKamranAsif
authored andcommitted
Fix typos (facebook#22494)
1 parent 913c5d0 commit 15e9b27

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

+1-1
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

+2-2
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)