@samitouri / QOS-React-2 / commits / f6abf4b400

Fix typos (#22494)

Konstantin Popov committed Oct 21, 2021 at 06:22 UTC f6abf4b400812c3207ca16aecb84fa3ce352e166
2 files changed +3 -3
packages/react-devtools-shared/src/backend/legacy/renderer.js
+1 -1
@@ -716,7 +716,7 @@ export function attach(
716
717 // Any time an inspected element has an update,
718 // we should update the selected $r value as wel.
719 - // Do this before dehyration (cleanForBridge).
719 + // Do this before dehydration (cleanForBridge).
720 updateSelectedElement(id);
721
722 inspectedElement.context = cleanForBridge(
packages/react-dom/src/test-utils/ReactTestUtils.js
+2 -2
@@ -178,7 +178,7 @@ function findAllInRenderedTree(inst, test) {
178 }
179
180 /**
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
182 * components with the class name matching `className`.
183 * @return {array} an array of all the matches.
184 */
@@ -233,7 +233,7 @@ function findRenderedDOMComponentWithClass(root, className) {
233 }
234
235 /**
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
237 * components with the tag name matching `tagName`.
238 * @return {array} an array of all the matches.
239 */