import { useChat } from '@/hooks/useChat';
import { MessageList } from './MessageList';

export function ChatContainer() {
  const { messages, isTyping } = useChat();

  return <MessageList messages={messages} isTyping={isTyping} />;
}
