Skip to content

Commit 610c252

Browse files
committed
unused
1 parent 9f0c1f7 commit 610c252

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

packages/svelte/src/internal/client/runtime.js

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -358,18 +358,6 @@ export function update_reaction(reaction) {
358358
}
359359
}
360360

361-
/** @param {Reaction} reaction */
362-
function get_effect(reaction) {
363-
/** @type {Reaction | null;} */
364-
var r = reaction;
365-
366-
while (r !== null && (r.f & DERIVED) !== 0) {
367-
r = /** @type {Derived} */ (r).parent;
368-
}
369-
370-
return /** @type {Effect | null} */ (r);
371-
}
372-
373361
/**
374362
* @template V
375363
* @param {Reaction} signal

0 commit comments

Comments
 (0)