From 401175f1a4097e458b493f4ccec88db9db7c54f3 Mon Sep 17 00:00:00 2001 From: Attacktive Date: Mon, 23 May 2022 13:32:11 +0900 Subject: [PATCH] Rename variable. --- src/utils/history.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/utils/history.ts b/src/utils/history.ts index 0de2298..aaedee3 100644 --- a/src/utils/history.ts +++ b/src/utils/history.ts @@ -4,9 +4,9 @@ let historyIndex = 0; export function list(): string { const array: Array = []; - for (const key in history) { - const value: string = history[key]; - array.push(`${key}: ${value}`); + for (const index in history) { + const value: string = history[index]; + array.push(`${index}: ${value}`); } return array.join('\n');