From bbded928a9ccd9a560c7cb5b4207a3313b217d1c Mon Sep 17 00:00:00 2001 From: Seogeurim Date: Tue, 28 Dec 2021 23:34:54 +0900 Subject: [PATCH] =?UTF-8?q?[#65]=20fix:=20=EC=84=9C=EB=B9=84=EC=8A=A4=20?= =?UTF-8?q?=EC=88=98=EC=A0=95=20=ED=8F=BC=EC=97=90=EC=84=9C=20=EB=B2=84?= =?UTF-8?q?=ED=8A=BC=20disable=20=EB=AC=B8=EC=A0=9C=20=ED=95=B4=EA=B2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 수정사항 없을 때도 버튼이 active해서 관련 조건문 수정 --- src/components/service/ServiceEditForm/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/service/ServiceEditForm/index.tsx b/src/components/service/ServiceEditForm/index.tsx index 1233e62..c5ddafd 100644 --- a/src/components/service/ServiceEditForm/index.tsx +++ b/src/components/service/ServiceEditForm/index.tsx @@ -60,7 +60,7 @@ const ServiceEditForm: FC = ({ serviceInfo }) => { domain !== inputs.domain || firstQuestion !== inputs.firstQuestion || theme.toString() !== inputs.theme || - profileImg !== image.preview, + image.raw !== null, ); }, [inputs, image]);