diff --git a/packages/status-react/src/components/main-sidebar/components/chats/chat-item.tsx b/packages/status-react/src/components/main-sidebar/components/chats/chat-item.tsx index 6a85a397..271ee500 100644 --- a/packages/status-react/src/components/main-sidebar/components/chats/chat-item.tsx +++ b/packages/status-react/src/components/main-sidebar/components/chats/chat-item.tsx @@ -20,7 +20,7 @@ const ChatItem = (props: Props, ref: Ref) => { const muted = false const unread = unreadChats.has(chat.id) - const count = unreadChats.get(chat.id)?.count + const count = unreadChats.get(chat.id)?.count ?? 0 const { color, displayName } = chat.identity!