chore: updated plane deploy sign-in workflows for cloud and self-hosted instances (#2999)

* chore: deploy onboarding workflow

* chore: sign in workflow improvement

* fix: build error
This commit is contained in:
Anmol Singh Bhatia 2023-12-06 16:42:57 +05:30 committed by sriram veeraghanta
parent a56e7b17f1
commit 24a28e44ff
40 changed files with 1963 additions and 599 deletions

View file

@ -1,4 +1,4 @@
import React, { useState } from "react";
import React, { useEffect, useState } from "react";
import Link from "next/link";
import { Controller, useForm } from "react-hook-form";
import { XCircle } from "lucide-react";
@ -48,6 +48,7 @@ export const PasswordForm: React.FC<Props> = (props) => {
getValues,
handleSubmit,
setError,
setFocus,
} = useForm<TPasswordFormValues>({
defaultValues: {
...defaultValues,
@ -127,6 +128,10 @@ export const PasswordForm: React.FC<Props> = (props) => {
.finally(() => setIsSendingUniqueCode(false));
};
useEffect(() => {
setFocus("password");
}, [setFocus]);
return (
<>
<h1 className="text-center text-2xl sm:text-2.5xl font-semibold text-onboarding-text-100">