[Glitch] Add missing autofocus on boost modal

Port 60801ab914 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
Jeong Arm 2024-11-18 03:48:27 -05:00 committed by Claire
parent 6374937147
commit 06c462ed1a

View File

@ -136,6 +136,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>