feat: autofocus totp form

This commit is contained in:
Stavros
2025-10-03 16:36:02 +03:00
parent a54996d72d
commit d4069900bc

View File

@@ -44,6 +44,7 @@ export const TotpForm = (props: Props) => {
disabled={loading} disabled={loading}
{...field} {...field}
autoComplete="one-time-code" autoComplete="one-time-code"
autoFocus
> >
<InputOTPGroup> <InputOTPGroup>
<InputOTPSlot index={0} /> <InputOTPSlot index={0} />