import { useParams } from "react-router-dom"; import { ErrorBoundary } from "react-error-boundary"; import { Button } from "@mantine/core"; import { IconAlertTriangle } from "@tabler/icons-react"; import { useTranslation } from "react-i18next"; import AiChatLayout from "../components/ai-chat-layout"; import { EmptyState } from "@/components/ui/empty-state.tsx"; import classes from "../styles/ai-chat.module.css"; export default function AiChat() { const { t } = useTranslation(); const { chatId } = useParams<{ chatId: string }>(); return (
( {t("Try again")} } /> )} >
); }