Skip to content

Commit 7a4b7fc

Browse files
author
EBAM006
committed
chore: fix typo
1 parent 05be4af commit 7a4b7fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/queries/role.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ const queryAllByRole = (
6363
return findAll(
6464
instance,
6565
(node) =>
66-
// run the cheapest checks first, and early exit too avoid unneeded computations
66+
// run the cheapest checks first, and early exit to avoid unneeded computations
6767
typeof node.type === 'string' &&
6868
matchStringProp(node.props.accessibilityRole, role) &&
6969
matchAccessibleStateIfNeeded(node, options) &&

0 commit comments

Comments
 (0)