import { MessageAndDropdown } from './message-and-dropdown' import { useTranslation } from 'react-i18next' import type { Message as MessageType } from '@/features/chat/context/chat-context' import { User } from '../../../../../types/user' export interface MessageGroupProps { messages: MessageType[] user?: User fromSelf: boolean } function MessageGroup({ messages, user, fromSelf }: MessageGroupProps) { const { t } = useTranslation() return (