Add missing autofocus on boost modal (#32953)

This commit is contained in:
Jeong Arm 2024-11-18 03:48:27 -05:00 committed by GitHub
parent bcf5d30e01
commit 60801ab914
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -128,6 +128,8 @@ export const BoostModal: React.FC<{
? messages.cancel_reblog ? messages.cancel_reblog
: messages.reblog, : messages.reblog,
)} )}
/* eslint-disable-next-line jsx-a11y/no-autofocus -- We are in the modal */
autoFocus
/> />
</div> </div>
</div> </div>