From aa5864108371cda3ee659ded5118280c4c8d914b Mon Sep 17 00:00:00 2001 From: akmazian Date: Mon, 13 Nov 2023 19:04:27 -0800 Subject: [PATCH] fixing range while we are at it --- frontend/src/utils/range.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/utils/range.ts b/frontend/src/utils/range.ts index a84fda9f1..1655d2fb2 100644 --- a/frontend/src/utils/range.ts +++ b/frontend/src/utils/range.ts @@ -4,5 +4,5 @@ export function range(a: number, b: number, step = 1): number[] { return Array(b - a) .fill(0) - .map((_, i) => i + a); + .map((_, i) => step * i + a); }