Skip to content

Commit 056601f

Browse files
committed
there's no point passing to , it's unused
1 parent 29a47c2 commit 056601f

File tree

1 file changed

+3
-4
lines changed
  • packages/svelte/src/internal/client/reactivity

1 file changed

+3
-4
lines changed

packages/svelte/src/internal/client/reactivity/effects.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -573,7 +573,7 @@ export function pause_effect(effect, callback, destroy = true) {
573573
/** @type {TransitionManager[]} */
574574
var transitions = [];
575575

576-
pause_children(effect, transitions, true, destroy);
576+
pause_children(effect, transitions, true);
577577

578578
run_out_transitions(transitions, () => {
579579
if (destroy) {
@@ -605,9 +605,8 @@ export function run_out_transitions(transitions, fn) {
605605
* @param {Effect} effect
606606
* @param {TransitionManager[]} transitions
607607
* @param {boolean} local
608-
* @param {boolean} [destroy]
609608
*/
610-
export function pause_children(effect, transitions, local, destroy = true) {
609+
export function pause_children(effect, transitions, local) {
611610
if ((effect.f & INERT) !== 0) return;
612611
effect.f ^= INERT;
613612

@@ -627,7 +626,7 @@ export function pause_children(effect, transitions, local, destroy = true) {
627626
// TODO we don't need to call pause_children recursively with a linked list in place
628627
// it's slightly more involved though as we have to account for `transparent` changing
629628
// through the tree.
630-
pause_children(child, transitions, transparent ? local : false, destroy);
629+
pause_children(child, transitions, transparent ? local : false);
631630
child = sibling;
632631
}
633632
}

0 commit comments

Comments
 (0)