From e49fc295ba40a37f9bf59686adbd8b4f523cd9c6 Mon Sep 17 00:00:00 2001 From: Derek Chen Date: Fri, 9 Feb 2024 17:13:02 -0600 Subject: [PATCH] feat: finally fix grid JSX.Element generation --- src/views/components/common/CalendarGrid/CalendarGrid.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/components/common/CalendarGrid/CalendarGrid.tsx b/src/views/components/common/CalendarGrid/CalendarGrid.tsx index 03a69aee..54a7373a 100644 --- a/src/views/components/common/CalendarGrid/CalendarGrid.tsx +++ b/src/views/components/common/CalendarGrid/CalendarGrid.tsx @@ -9,7 +9,7 @@ const grid = []; for (let i = 0; i < 13; i++) { const row = []; row.push(hoursOfDay[i]); - const row = Array.from({ length: 5 }, (_, j) => ); + row.push(Array.from({ length: 5 }, (_, j) => )); grid.push(row); }