import { ChatWidget } from '@/features/chat/ChatWidget';
import '@/styles/chat-widget.css';

/** HUB-366: the live chat window visitors use. Public: no sign-in, nothing of the CRM. */
export const metadata = {
  title: 'Chat',
  robots: { index: false, follow: false },
};

export default async function ChatWidgetPage({ params }: { params: Promise<{ inboxId: string }> }) {
  const { inboxId } = await params;
  return <ChatWidget inboxId={inboxId} />;
}
