From b507d6b7611c617036be4f70f8e56cc17ed637e3 Mon Sep 17 00:00:00 2001 From: seoye0ng Date: Sun, 14 Jan 2024 23:43:46 +0900 Subject: [PATCH] =?UTF-8?q?bug:=20login=ED=83=80=EC=9E=85=20=EC=88=98?= =?UTF-8?q?=EC=A0=95=20=EB=B0=8F=20=EB=B6=88=ED=95=84=EC=9A=94=ED=95=9C=20?= =?UTF-8?q?=ED=83=9C=EA=B7=B8=20=EC=82=AD=EC=A0=9C=20#73?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/login/page.tsx | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) diff --git a/src/app/login/page.tsx b/src/app/login/page.tsx index 2e8074b9..ad889066 100644 --- a/src/app/login/page.tsx +++ b/src/app/login/page.tsx @@ -12,14 +12,14 @@ import Header from '@components/shared/header/Header'; import Spacing from '@components/shared/spacing/Spacing'; import TextField from '@components/shared/text-field/TextField'; import Title from '@components/shared/title/Title'; -import { ISignUp } from '@remote/api/types/auth'; +import { ISignIn } from '@remote/api/types/auth'; import styles from './page.module.scss'; const cx = classNames.bind(styles); function LoginPage() { - const { register, handleSubmit } = useForm(); + const { register, handleSubmit } = useForm(); // eslint-disable-next-line @typescript-eslint/require-await const onSubmit = async () => { @@ -31,8 +31,18 @@ function LoginPage() {
- <TextField label="아이디" required placeholder="아이디" {...register('id')} /> - <TextField label="비밀번호" required placeholder="비밀번호" {...register('password')} /> + <TextField + label="아이디" + required + placeholder="아이디" + {...register('id')} + /> + <TextField + label="비밀번호" + required + placeholder="비밀번호" + {...register('password')} + /> <Spacing size={30} /> <Button type="submit" size="medium" full> 로그인 @@ -41,19 +51,13 @@ function LoginPage() { </form> <ul className={cx('linkContainer')}> <li> - <Link href="/"> - <span>회원가입</span> - </Link> + <Link href="/">회원가입</Link> </li> <li> - <Link href="/"> - <span>아이디 찾기</span> - </Link> + <Link href="/">아이디 찾기</Link> </li> <li> - <Link href="/"> - <span>비밀번호 찾기</span> - </Link> + <Link href="/">비밀번호 찾기</Link> </li> </ul> </main>