From bfc8679330e689218c56171017c36927f27bc938 Mon Sep 17 00:00:00 2001 From: dovakiin0 Date: Mon, 18 Sep 2023 13:11:55 +0545 Subject: [PATCH] Mark as seen implemented --- client/src/partials/Notification.tsx | 3 --- server/src/feature/tracker.ts | 1 - 2 files changed, 4 deletions(-) diff --git a/client/src/partials/Notification.tsx b/client/src/partials/Notification.tsx index 5b88134..7ff1c9d 100644 --- a/client/src/partials/Notification.tsx +++ b/client/src/partials/Notification.tsx @@ -7,8 +7,6 @@ import useNotification from "../hooks/useNotification"; function Notification() { const { notifications, count, markNotificationAsRead } = useNotification(); - const handleClick; - return ( ))} diff --git a/server/src/feature/tracker.ts b/server/src/feature/tracker.ts index 228ea7e..96c30fe 100644 --- a/server/src/feature/tracker.ts +++ b/server/src/feature/tracker.ts @@ -69,7 +69,6 @@ export async function saveNotification( thirtyMinutesTasks: ITask[], tenMinutesTasks: ITask[], ) { - console.log({ oneHourTasks, thirtyMinutesTasks, tenMinutesTasks }); for (const task of oneHourTasks) { let message = "Due in 1 hour"; task.OneHourDue = true;