File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
site/src/modules/notifications/NotificationsInbox Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -5,10 +5,10 @@ import type {
5
5
UpdateInboxNotificationReadStatusResponse ,
6
6
} from "api/typesGenerated" ;
7
7
import { displayError } from "components/GlobalSnackbar/utils" ;
8
+ import { useEffectEvent } from "hooks/hookPolyfills" ;
8
9
import { type FC , useEffect , useRef } from "react" ;
9
10
import { useMutation , useQuery , useQueryClient } from "react-query" ;
10
11
import { InboxPopover } from "./InboxPopover" ;
11
- import { useEffectEvent } from "hooks/hookPolyfills" ;
12
12
13
13
const NOTIFICATIONS_QUERY_KEY = [ "notifications" ] ;
14
14
@@ -79,7 +79,6 @@ export const NotificationsInbox: FC<NotificationsInboxProps> = ({
79
79
mutationFn : markAllAsRead ,
80
80
onSuccess : ( ) => {
81
81
updateNotificationsCache ( ( prev ) => {
82
- console . log ( "PREV" , prev ) ;
83
82
return {
84
83
unread_count : 0 ,
85
84
notifications : prev . notifications . map ( ( n ) => ( {
You can’t perform that action at this time.
0 commit comments