We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05be4af commit 7a4b7fcCopy full SHA for 7a4b7fc
src/queries/role.ts
@@ -63,7 +63,7 @@ const queryAllByRole = (
63
return findAll(
64
instance,
65
(node) =>
66
- // run the cheapest checks first, and early exit too avoid unneeded computations
+ // run the cheapest checks first, and early exit to avoid unneeded computations
67
typeof node.type === 'string' &&
68
matchStringProp(node.props.accessibilityRole, role) &&
69
matchAccessibleStateIfNeeded(node, options) &&
0 commit comments