Skip to content

Commit 4d0f010

Browse files
committed
Fix lint
1 parent 281dadf commit 4d0f010

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

site/src/modules/notifications/NotificationsInbox/NotificationsInbox.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ import type {
55
UpdateInboxNotificationReadStatusResponse,
66
} from "api/typesGenerated";
77
import { displayError } from "components/GlobalSnackbar/utils";
8+
import { useEffectEvent } from "hooks/hookPolyfills";
89
import { type FC, useEffect, useRef } from "react";
910
import { useMutation, useQuery, useQueryClient } from "react-query";
1011
import { InboxPopover } from "./InboxPopover";
11-
import { useEffectEvent } from "hooks/hookPolyfills";
1212

1313
const NOTIFICATIONS_QUERY_KEY = ["notifications"];
1414

@@ -79,7 +79,6 @@ export const NotificationsInbox: FC<NotificationsInboxProps> = ({
7979
mutationFn: markAllAsRead,
8080
onSuccess: () => {
8181
updateNotificationsCache((prev) => {
82-
console.log("PREV", prev);
8382
return {
8483
unread_count: 0,
8584
notifications: prev.notifications.map((n) => ({

0 commit comments

Comments
 (0)