import { MessageItem } from "@components/PageComponents/Messages/MessageItem.tsx"; import { InboxIcon } from "lucide-react"; import { Message } from "@core/stores/messageStore/types.ts"; import { useTranslation } from "react-i18next"; export interface ChannelChatProps { messages?: Message[]; } const EmptyState = () => { const { t } = useTranslation("messages"); return (
{t("emptyState.text")}
); }; export const ChannelChat = ({ messages = [] }: ChannelChatProps) => { if (!messages?.length) { return (
); } return ( ); };