Skip to content

Commit 501f9d3

Browse files
trueadmdummdidumm
andauthored
Update packages/svelte/src/internal/client/dom/blocks/each.js
Co-authored-by: Simon H <[email protected]>
1 parent 9dafb2c commit 501f9d3

File tree

1 file changed

+1
-2
lines changed
  • packages/svelte/src/internal/client/dom/blocks

1 file changed

+1
-2
lines changed

packages/svelte/src/internal/client/dom/blocks/each.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -417,8 +417,7 @@ function reconcile(array, state, anchor, render_fn, flags, is_inert, get_key) {
417417
var to_destroy = seen === undefined ? [] : array_from(seen);
418418

419419
while (current !== null) {
420-
// If the each block isn't inert, then item effects that are inert means they are currently
421-
// already outroing and will be removed once the transition is finished
420+
// If the each block isn't inert, then inert effects are currently outroing and will be removed once the transition is finished
422421
if (is_inert || (current.e.f & INERT) === 0) {
423422
to_destroy.push(current);
424423
}

0 commit comments

Comments
 (0)