Skip to content

Commit 8dd8e3e

Browse files
authored
chore: minor each tweak (#17294)
1 parent 6dea3d0 commit 8dd8e3e

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ function reconcile(state, array, anchor, flags, get_key) {
483483
matched = [];
484484
stashed = [];
485485

486-
while (current !== null && current.k !== key) {
486+
while (current !== null && current !== item) {
487487
// If the each block isn't inert and an item has an effect that is already inert,
488488
// skip over adding it to our seen Set as the item is already being handled
489489
if ((current.e.f & INERT) === 0) {

0 commit comments

Comments
 (0)