Skip to content

Commit

Permalink
fix index to announce
Browse files Browse the repository at this point in the history
  • Loading branch information
siddharthkp committed Sep 16, 2024
1 parent 6f35fce commit 0f9778e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/src/FilteredActionList/useAnnouncements.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export const useAnnouncements = (
`List updated`,
`Focused item: ${text}`,
`${selected ? 'selected' : 'not selected'}`,
`${index} of ${items.length}`,
`${index + 1} of ${items.length}`,
].join(', ')
announce(announcementText, {delayMs})
})
Expand Down

0 comments on commit 0f9778e

Please sign in to comment.