fix bug where calendar grid would clear

This commit is contained in:
marlon-erler
2024-07-19 13:52:15 +02:00
parent f1a9adae11
commit 0704ca9e5b
2 changed files with 1 additions and 4 deletions
-2
View File
@@ -52,8 +52,6 @@ export function CalendarView(
let monthGridCells = new React.State<HTMLElement[]>([]);
dayInCalendar.subscribe((newValue) => {
const newSelectedDate = new Date(newValue);
newSelectedDate.setHours(0);
newSelectedDate.setMinutes(0);
const currentDate = new Date();
monthGridCells.value = [];