We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d39e60b commit 54e3925Copy full SHA for 54e3925
packages/svelte/src/internal/client/runtime.js
@@ -871,8 +871,7 @@ export function get(signal) {
871
if (DEV) {
872
if (current_async_effect) {
873
var tracking = (current_async_effect.f & REACTION_IS_UPDATING) !== 0;
874
- var was_read =
875
- current_async_effect.deps !== null && current_async_effect.deps.includes(signal);
+ var was_read = current_async_effect.deps?.includes(signal);
876
877
if (!tracking && !was_read) {
878
w.await_reactivity_loss(/** @type {string} */ (signal.label));
0 commit comments