fix: refactor

This commit is contained in:
David Nguyen
2024-03-15 17:08:15 +08:00
parent aa926d6642
commit b22de4bd71

View File

@ -293,6 +293,8 @@ export const SignInForm = ({ className, initialEmail, isGoogleSSOEnabled }: Sign
<PasswordInput {...field} /> <PasswordInput {...field} />
</FormControl> </FormControl>
<FormMessage />
<p className="mt-2 text-right"> <p className="mt-2 text-right">
<Link <Link
href="/forgot-password" href="/forgot-password"
@ -301,11 +303,9 @@ export const SignInForm = ({ className, initialEmail, isGoogleSSOEnabled }: Sign
Forgot your password? Forgot your password?
</Link> </Link>
</p> </p>
<FormMessage />
</FormItem> </FormItem>
)} )}
/> />
</fieldset>
<Button <Button
type="submit" type="submit"
@ -352,6 +352,7 @@ export const SignInForm = ({ className, initialEmail, isGoogleSSOEnabled }: Sign
Passkey Passkey
</Button> </Button>
)} )}
</fieldset>
</form> </form>
<Dialog <Dialog