Update packages/svelte/src/internal/client/reactivity/deriveds.js

Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
pull/14443/head
Dominic Gannaway 2 years ago committed by GitHub
parent 8a7dec8c5f
commit 0953c0a85d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -114,7 +114,7 @@ let stack = [];
*/
export function get_derived_parent_effect(derived) {
var parent = derived.parent;
if (parent !== null) {
while (parent !== null) {
if ((parent.f & DERIVED) === 0) {
return /** @type {Effect} */ (parent);
}

Loading…
Cancel
Save