Skip to content

Commit

Permalink
Set autofocus on favourite modal (#2900)
Browse files Browse the repository at this point in the history
  • Loading branch information
tribela authored Nov 24, 2024
1 parent f87a06f commit b52e7a6
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ export const FavouriteModal: React.FC<{
<Button
onClick={handleFavourite}
text={intl.formatMessage(messages.favourite)}
/* eslint-disable-next-line jsx-a11y/no-autofocus -- We are in the modal */
autoFocus
/>
</div>
</div>
Expand Down

0 comments on commit b52e7a6

Please sign in to comment.