From 914bf93197f771287cf1cd95cfc66674015faf74 Mon Sep 17 00:00:00 2001 From: Daseul Kim Date: Wed, 23 Oct 2024 16:20:25 +0900 Subject: [PATCH] =?UTF-8?q?refactor:=20canvas=20plan=20=EC=A0=80=EC=9E=A5?= =?UTF-8?q?=20=EC=8B=9C=20=EC=84=B1=EA=B3=B5=EB=A9=94=EC=84=B8=EC=A7=80=20?= =?UTF-8?q?=ED=91=9C=EC=B6=9C=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/hooks/usePlan.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/hooks/usePlan.js b/src/hooks/usePlan.js index 166ff738..87d43021 100644 --- a/src/hooks/usePlan.js +++ b/src/hooks/usePlan.js @@ -201,7 +201,6 @@ export function usePlan() { ), ) setModifiedPlans((modifiedPlans) => modifiedPlans.filter((planId) => planId !== currentCanvasPlan.id)) - swalFire({ text: getMessage('plan.message.save') }) }) .catch((error) => { swalFire({ text: error.message, icon: 'error' }) @@ -223,7 +222,6 @@ export function usePlan() { ) setPlans((plans) => plans.map((plan) => (plan.id === currentCanvasPlan.id ? { ...plan, canvasStatus: canvasStatus } : plan))) setModifiedPlans((modifiedPlans) => modifiedPlans.filter((planId) => planId !== currentCanvasPlan.id)) - swalFire({ text: getMessage('plan.message.save') }) }) .catch((error) => { swalFire({ text: error.message, icon: 'error' })