mirror of
https://github.com/go-vikunja/vikunja.git
synced 2026-08-01 18:54:36 -05:00
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:
@@ -738,7 +738,6 @@ onMounted(() => {
|
||||
|
||||
onBeforeUnmount(() => {
|
||||
document.removeEventListener('keydown', saveTaskViaHotkey)
|
||||
debouncedMutationHandler.cancel()
|
||||
})
|
||||
|
||||
onBeforeRouteLeave(async () => {
|
||||
|
||||
Reference in New Issue
Block a user