Skip to content

Commit 1ac4269

Browse files
committed
fix
1 parent f6e2fa9 commit 1ac4269

File tree

1 file changed

+3
-0
lines changed
  • packages/svelte/src/internal/client/dom/blocks

1 file changed

+3
-0
lines changed

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,9 @@ function reconcile(array, state, anchor, render_fn, flags, get_key) {
335335
continue;
336336
}
337337

338+
matched = [];
339+
stashed = [];
340+
338341
while (current && current.k !== key) {
339342
seen.add(current);
340343
stashed.push(current);

0 commit comments

Comments
 (0)