chore(task): do not try to cancel debounce handler
The debounce handler cannot be canceled like that. Because the variable just gets destroyed when we unmount the component, no need to clean it up explicitely.
This commit is contained in:
parent
512af1d0f4
commit
cc7bf76091
|
|
@ -738,7 +738,6 @@ onMounted(() => {
|
|||
|
||||
onBeforeUnmount(() => {
|
||||
document.removeEventListener('keydown', saveTaskViaHotkey)
|
||||
debouncedMutationHandler.cancel()
|
||||
})
|
||||
|
||||
onBeforeRouteLeave(async () => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue