chore: const -> var

pull/17456/head
Rich Harris 6 months ago
parent b2135bd9f6
commit 2c23390286

@ -370,7 +370,7 @@ function remove_reaction(signal, dependency) {
// allows us to skip the expensive work of disconnecting and immediately reconnecting it
(new_deps === null || !new_deps.includes(dependency))
) {
const derived = /** @type {Derived} */ (dependency);
var derived = /** @type {Derived} */ (dependency);
// If we are working with a derived that is owned by an effect, then mark it as being
// disconnected and remove the mark flag, as it cannot be reliably removed otherwise

Loading…
Cancel
Save