diff --git a/pages/kanban/[id].vue b/pages/kanban/[id].vue index a5c8c516..ab6b6193 100644 --- a/pages/kanban/[id].vue +++ b/pages/kanban/[id].vue @@ -349,7 +349,7 @@ onMounted(async () => { }); }); -onBeforeUnmount(() => { +onBeforeUnmount(async () => { document.removeEventListener("keydown", keyDownListener); emitter.emit("closeKanbanPage");