Fail more gracefully when svelte sneezes
This commit is contained in:
parent
152d35f92a
commit
ae071fefaa
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@
|
|||
$effect(() => {
|
||||
if (!containerEl) return
|
||||
containerEl.addEventListener("touchmove", onTouchMove, {passive: false})
|
||||
return () => containerEl!.removeEventListener("touchmove", onTouchMove)
|
||||
return () => containerEl?.removeEventListener("touchmove", onTouchMove)
|
||||
})
|
||||
|
||||
const onActionClick = () => {
|
||||
|
|
|
|||
Loading…
Reference in a new issue