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(() => {
|
$effect(() => {
|
||||||
if (!containerEl) return
|
if (!containerEl) return
|
||||||
containerEl.addEventListener("touchmove", onTouchMove, {passive: false})
|
containerEl.addEventListener("touchmove", onTouchMove, {passive: false})
|
||||||
return () => containerEl!.removeEventListener("touchmove", onTouchMove)
|
return () => containerEl?.removeEventListener("touchmove", onTouchMove)
|
||||||
})
|
})
|
||||||
|
|
||||||
const onActionClick = () => {
|
const onActionClick = () => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue