Skip to content

Commit

Permalink
Fix typos (facebook#22494)
Browse files Browse the repository at this point in the history
  • Loading branch information
KonstHardy authored and KamranAsif committed Nov 4, 2021
1 parent 913c5d0 commit 15e9b27
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -716,7 +716,7 @@ export function attach(

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

inspectedElement.context = cleanForBridge(
Expand Down
4 changes: 2 additions & 2 deletions packages/react-dom/src/test-utils/ReactTestUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ function findAllInRenderedTree(inst, test) {
}

/**
* Finds all instance of components in the rendered tree that are DOM
* Finds all instances of components in the rendered tree that are DOM
* components with the class name matching `className`.
* @return {array} an array of all the matches.
*/
Expand Down Expand Up @@ -233,7 +233,7 @@ function findRenderedDOMComponentWithClass(root, className) {
}

/**
* Finds all instance of components in the rendered tree that are DOM
* Finds all instances of components in the rendered tree that are DOM
* components with the tag name matching `tagName`.
* @return {array} an array of all the matches.
*/
Expand Down

0 comments on commit 15e9b27

Please sign in to comment.