mirror of
				https://github.com/steveiliop56/tinyauth.git
				synced 2025-11-04 08:05:42 +00:00 
			
		
		
		
	feat: autofocus totp form
This commit is contained in:
		@@ -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} />
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user