From d54e0c21453669e5aee4c78469c440cb5479feb9 Mon Sep 17 00:00:00 2001 From: Garrett Michael Flynn Date: Mon, 11 Mar 2024 09:58:59 -0700 Subject: [PATCH] Avoid infinite loop --- src/renderer/src/stories/List.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/src/stories/List.ts b/src/renderer/src/stories/List.ts index 61e2bd65f..fc89442a1 100644 --- a/src/renderer/src/stories/List.ts +++ b/src/renderer/src/stories/List.ts @@ -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}`; }