Auto focus user field for login (#12083)

This commit is contained in:
Nicolas Mowen 2024-06-20 10:37:54 -06:00 committed by GitHub
parent c871bebee6
commit 73755e9777
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -93,6 +93,7 @@ export function UserAuthForm({ className, ...props }: UserAuthFormProps) {
<FormControl>
<Input
className="text-md w-full border border-input bg-background p-2 hover:bg-accent hover:text-accent-foreground dark:[color-scheme:dark]"
autoFocus
{...field}
/>
</FormControl>