Skip to content

Commit

Permalink
Mark as seen implemented
Browse files Browse the repository at this point in the history
  • Loading branch information
Dovakiin0 committed Sep 18, 2023
1 parent 6a70625 commit bfc8679
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
3 changes: 0 additions & 3 deletions client/src/partials/Notification.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ import useNotification from "../hooks/useNotification";
function Notification() {
const { notifications, count, markNotificationAsRead } = useNotification();

const handleClick;

return (
<Menu
shadow="md"
Expand Down Expand Up @@ -47,7 +45,6 @@ function Notification() {
title={notification.task?.title}
message={notification?.message}
markNotificationAsRead={markNotificationAsRead}
handleClick={handleClick}
/>
</Menu.Item>
))}
Expand Down
1 change: 0 additions & 1 deletion server/src/feature/tracker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit bfc8679

Please sign in to comment.