From 93a9c709c09438c431a5ccf86c6186ca08b46eab Mon Sep 17 00:00:00 2001 From: Seoyoung Date: Sat, 24 Feb 2024 17:04:09 +0900 Subject: [PATCH] =?UTF-8?q?Fix:=20=EB=A6=AC=EC=8A=A4=ED=8A=B8=20=EC=83=9D?= =?UTF-8?q?=EC=84=B1=20=20=EB=9D=BC=EB=B2=A8=20onChange=EB=A7=88=EB=8B=A4?= =?UTF-8?q?=20=EC=97=90=EB=9F=AC=20=EC=84=A4=EC=A0=95=EB=90=98=EB=8A=94=20?= =?UTF-8?q?=ED=95=A8=EC=88=98=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/list/create/_components/CreateList.tsx | 15 +++++++++++---- .../list/create/_components/list/LabelInput.tsx | 4 ++-- 2 files changed, 13 insertions(+), 6 deletions(-) diff --git a/src/app/list/create/_components/CreateList.tsx b/src/app/list/create/_components/CreateList.tsx index 6ff9188b..52d4b80f 100644 --- a/src/app/list/create/_components/CreateList.tsx +++ b/src/app/list/create/_components/CreateList.tsx @@ -81,6 +81,15 @@ function CreateList({ onNextClick, type }: CreateListProps) { handleQueryParams(); }, []); + const isValid = + title && + category && + !errors.title && + !errors.category && + !errors.labels && + !errors.collaboratorIds && + !errors.description; + return (
{/* 헤더 */} @@ -92,10 +101,8 @@ function CreateList({ onNextClick, type }: CreateListProps) { }} right={