import { t } from "@lingui/core/macro"; import { useWS } from "../hooks/useWS.ts"; import { useChat } from "../hooks/useChat.ts"; /** Header chat button with an unread-message badge. Opens the app-wide chat. */ export function ChatButton() { const { unreadChatCount } = useWS(); const { openChat } = useChat(); return ( ); }