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 f00d11f commit cc70f2bCopy full SHA for cc70f2b
1 file changed
packages/devtools-a11y/src/core/components/IssueList.tsx
@@ -81,8 +81,10 @@ export function A11yIssueList(props: A11yIssueListProps) {
81
{(impact) => {
82
const count = () =>
83
ally.allyResult.audit?.issues.reduce(
84
- (count, issue) => (
85
- issue.impact === impact && issue.meetsThreshold ? count + 1 : count),
+ (count, issue) =>
+ issue.impact === impact && issue.meetsThreshold
86
+ ? count + 1
87
+ : count,
88
0,
89
) || 0
90
0 commit comments