fix and update
This commit is contained in:
@@ -101,6 +101,7 @@ export function RealtimeProvider({ children }: { children: React.ReactNode }) {
|
||||
data.type === 'family_invite' ||
|
||||
data.type === 'role_assigned' ||
|
||||
data.type === 'role_removed' ||
|
||||
data.type === 'login_success' ||
|
||||
(data.type === 'chat_message' && data.payload?.notificationId)
|
||||
) {
|
||||
setUnreadCount((count) => count + 1);
|
||||
|
||||
Reference in New Issue
Block a user