Skip to content

Commit

Permalink
Avoid infinite loop
Browse files Browse the repository at this point in the history
  • Loading branch information
garrettmflynn committed Mar 11, 2024
1 parent 6271445 commit d54e0c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/src/stories/List.ts
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ export class List extends LitElement {
// Ensure no duplicate keys
let kI = 0;
while (resolvedKey in this.object) {
i++;
kI++;
resolvedKey = `${key}_${kI}`;
}

Expand Down

0 comments on commit d54e0c2

Please sign in to comment.