diff --git a/frontend/src/hooks/useNotificationWebSocket.ts b/frontend/src/hooks/useNotificationWebSocket.ts index 405a3e5c..f03aba9d 100644 --- a/frontend/src/hooks/useNotificationWebSocket.ts +++ b/frontend/src/hooks/useNotificationWebSocket.ts @@ -6,7 +6,7 @@ import { useEffect, useRef, useCallback } from 'react'; import { getWebSocketUrl } from '@/lib/url'; interface NotificationMessage { - type: 'notification' | 'unread_count'; + type: 'notification' | 'unread_count' | 'ping' | 'list_update' | 'new_message' | 'marked_read'; notification?: any; count?: number; }