Revert "fix: ensure Svelte action destroy effects are untracked (#11562)" (#11568)

This reverts commit e49f1f7f11.
pull/11571/head
Dominic Gannaway 8 months ago committed by GitHub
parent e49f1f7f11
commit f6e87772cb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -1,5 +0,0 @@
---
"svelte": patch
---
fix: ensure Svelte action destroy effects are untracked

@ -32,7 +32,7 @@ export function action(dom, action, get_value) {
}
if (payload?.destroy) {
return () => untrack(() => /** @type {Function} */ (payload.destroy)());
return () => /** @type {Function} */ (payload.destroy)();
}
});
}

Loading…
Cancel
Save