Fail more gracefully when svelte sneezes
This commit is contained in:
@@ -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 = () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user