mirror of
https://github.com/glitch-soc/mastodon.git
synced 2024-11-30 03:50:13 -05:00
Set autofocus on favourite modal
This commit is contained in:
parent
e8c108d270
commit
e075d47d9d
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user