From 300ea1c4e77d7de0dcd2d2e97f6a4dcbf97c8976 Mon Sep 17 00:00:00 2001 From: Vencislav Atanasov Date: Tue, 1 Oct 2024 01:50:56 +0300 Subject: [PATCH] Skip hiding of empty rows --- src/hooks/useScheduleTable.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hooks/useScheduleTable.js b/src/hooks/useScheduleTable.js index 3083f2f..d2b6a4c 100644 --- a/src/hooks/useScheduleTable.js +++ b/src/hooks/useScheduleTable.js @@ -81,7 +81,7 @@ export default function useScheduleTable({ }]; }); - const isEmptyRow = !eventCells.find(slot => !!slot?.event); + const isEmptyRow = false; // TODO !eventCells.find(slot => !!slot?.event); const showHeader = isFirst || isFirstForTheDay; const showSlot = !isLast && !isLastForTheDay && !isEmptyRow;