Skip to content

Commit

Permalink
Set autofocus on favourite modal
Browse files Browse the repository at this point in the history
  • Loading branch information
tribela committed Nov 18, 2024
1 parent e8c108d commit e075d47
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 e075d47

Please sign in to comment.