pull/16145/head
7nik 3 months ago
parent a63c7571a8
commit f2e61f6e87

@ -61,9 +61,7 @@ export function await_block(node, get_input, pending_fn, then_fn, catch_fn) {
var input_source = runes
? source(/** @type {V} */ (undefined))
: mutable_source(/** @type {V} */ (undefined), false, false);
var error_source = runes
? source(/** @type {V} */ (undefined))
: mutable_source(/** @type {V} */ (undefined), false, false);
var error_source = runes ? source(undefined) : mutable_source(undefined, false, false);
var resolved = false;
/**

@ -101,7 +101,7 @@ export function mutable_source(initial_value, immutable = false, trackable = tru
// bind the signal to the component context, in case we need to
// track updates to trigger beforeUpdate/afterUpdate callbacks
if (trackable && legacy_mode_flag && component_context !== null && component_context.l !== null) {
if (legacy_mode_flag && trackable && component_context !== null && component_context.l !== null) {
(component_context.l.s ??= []).push(s);
}

Loading…
Cancel
Save