diff --git a/src/components/common/Login/index.tsx b/src/components/common/Login/index.tsx index 302d0391..b6507a8b 100644 --- a/src/components/common/Login/index.tsx +++ b/src/components/common/Login/index.tsx @@ -1,5 +1,7 @@ -import { SignInButton, SignInFormItem, SignInTitle } from '@/components/auth'; import VerticalForm from '@/components/common/VerticalForm'; +import VerticalFormButton from '@/components/common/VerticalFormButton'; +import VerticalFormItem from '@/components/common/VerticalFormItem'; +import VerticalFormTitle from '@/components/common/VerticalFormTitle'; import { config, showToast } from '@/lib'; import { resendEmailVerification } from '@/lib/api/AuthAPI'; import { AuthManager } from '@/lib/managers'; @@ -65,8 +67,8 @@ const Login = ({ destination, full }: LoginProps) => { return ( - {full ? : null} - : null} + } element="input" name="email" @@ -80,7 +82,7 @@ const Login = ({ destination, full }: LoginProps) => { })} error={errors.email} /> - } name="password" element="input" @@ -91,20 +93,25 @@ const Login = ({ destination, full }: LoginProps) => { })} error={errors.password} /> - - {full ? ( - + ) : null} );