Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ImLunaHey committed Jan 1, 2025
1 parent c0e56ab commit f2fbf53
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/components/LoginForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,7 @@ export function LoginForm() {

<div>
<Label htmlFor="password">{t('password')}</Label>
<Input
id="password"
type="password"
{...register('password', { required: 'Password is required' })}
error={!!errors.password}
/>
<Input id="password" type="password" {...register('password', { required: 'Password is required' })} />
{errors.password && <p className="mt-1 text-sm text-red-500">{errors.password.message}</p>}
</div>

Expand All @@ -60,7 +55,6 @@ export function LoginForm() {
id="authFactorToken"
type="text"
{...register('authFactorToken', { required: 'Two-factor token is required' })}
error={!!errors.authFactorToken}
/>
{errors.authFactorToken && <p className="mt-1 text-sm text-red-500">{errors.authFactorToken?.message}</p>}
</div>
Expand Down

0 comments on commit f2fbf53

Please sign in to comment.