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

Co-authored-by: Rich Harris <rich.harris@vercel.com>
pull/14443/head
Dominic Gannaway 2 years ago committed by GitHub
parent 91e7e5becb
commit c909b1d763
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -58,7 +58,7 @@ export function derived(fn) {
reactions: null,
v: /** @type {V} */ (null),
version: 0,
parent: parent_derived || active_effect
parent: parent_derived ?? active_effect
};
if (parent_derived !== null) {

Loading…
Cancel
Save