Skip to content

Commit

Permalink
Revert "fix: ensure Svelte action destroy effects are untracked (#11562
Browse files Browse the repository at this point in the history
…)" (#11568)

This reverts commit e49f1f7.
  • Loading branch information
trueadm committed May 12, 2024
1 parent e49f1f7 commit f6e8777
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions .changeset/lazy-bats-turn.md

This file was deleted.

Expand Up @@ -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)();
}
});
}

0 comments on commit f6e8777

Please sign in to comment.