Update packages/svelte/src/internal/client/dom/elements/bindings/this.js

Co-authored-by: Rich Harris <rich.harris@vercel.com>
pull/10958/head
Dominic Gannaway 6 months ago committed by GitHub
parent 14cca8f9c4
commit 59048c36ed
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -46,8 +46,8 @@ export function bind_this(element_or_component, update, get_value, get_parts) {
});
});
effect(() => {
return () => {
return () => {
effect(() => {
if (parts && is_bound_this(get_value(...parts), element_or_component)) {
update(null, ...parts);
}

Loading…
Cancel
Save