From 6b4a003f00b68b5ea0d7f9c3105a4dd88b0ea104 Mon Sep 17 00:00:00 2001 From: piyush gupta <95974447+guptapiyush210427@users.noreply.github.com> Date: Fri, 7 Jun 2024 02:55:55 +0530 Subject: [PATCH] Update theme.js --- js/theme.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/theme.js b/js/theme.js index 61cc4e6..064a49b 100644 --- a/js/theme.js +++ b/js/theme.js @@ -9,6 +9,7 @@ const calendarContainer = document.querySelector('.calendar'); let currentDate = new Date(); + const updateCalendar = () => { const currentYear = currentDate.getFullYear(); const currentMonth = currentDate.getMonth(); @@ -103,4 +104,4 @@ overlay1.addEventListener('click', (event) => { if (event.target === overlay1) { overlay1.style.display = 'none'; } -}); \ No newline at end of file +});