플랜 삭제 / 이동 이벤트 버블링

This commit is contained in:
basssy 2025-02-06 15:08:06 +09:00
parent f5b37e5bd1
commit 8fe9e11f1d

View File

@ -42,7 +42,9 @@ export default function CanvasLayout({ children }) {
{index !== 0 && (
<i
className="close"
onClick={(e) =>
onClick={(e) => {
// handleCurrentPlan
e.stopPropagation()
swalFire({
text: `Plan ${plan.planNo} ` + getMessage('plan.message.confirm.delete'),
type: 'confirm',
@ -50,7 +52,7 @@ export default function CanvasLayout({ children }) {
handleDeletePlan(e, plan)
},
})
}
}}
></i>
)}
</button>