From d36b52eb6a98cf28deff700ab26ed71ecb8fb5df Mon Sep 17 00:00:00 2001 From: kyu <2066apple@naver.com> Date: Wed, 13 Sep 2023 22:50:12 +0900 Subject: [PATCH] =?UTF-8?q?[=20fix=20]=20=EC=A2=85=EB=A3=8C=20=EB=82=AB?= =?UTF-8?q?=ED=88=AC=EB=91=90=20=EC=88=98=EC=A0=95=20=EB=B6=88=EA=B0=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/nottodo/index.tsx | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/src/pages/nottodo/index.tsx b/src/pages/nottodo/index.tsx index e0e3cf1..e4b8eb4 100644 --- a/src/pages/nottodo/index.tsx +++ b/src/pages/nottodo/index.tsx @@ -126,10 +126,17 @@ export default function NotTodoPage() { router('/nottodo/create')} /> )} -
router(`/nottodo/edit/${currentNottodo?.notToDoId}`)}> - 낫투두 수정 -
-
+ {currentNottodo?.progressState !== 'COMPLETE' && ( + <> +
router(`/nottodo/edit/${currentNottodo?.notToDoId}`)} + > + 낫투두 수정 +
+
+ + )}
낫투두 삭제