2025-06-13 06:03:17 +00:00
|
|
|
import { Suspense } from "react";
|
|
|
|
import {
|
|
|
|
BotContent,
|
|
|
|
BotContentSkeleton,
|
|
|
|
} from "@/features/problems/bot/components/content";
|
2025-06-20 15:03:23 +00:00
|
|
|
import { PanelLayout } from "@/features/problems/layouts/panel-layout";
|
2025-06-13 06:03:17 +00:00
|
|
|
|
|
|
|
interface BotPanelProps {
|
|
|
|
problemId: string;
|
|
|
|
}
|
|
|
|
|
|
|
|
export const BotPanel = ({ problemId }: BotPanelProps) => {
|
|
|
|
return (
|
2025-06-20 15:03:23 +00:00
|
|
|
<PanelLayout>
|
2025-06-13 06:03:17 +00:00
|
|
|
<Suspense fallback={<BotContentSkeleton />}>
|
|
|
|
<BotContent problemId={problemId} />
|
|
|
|
</Suspense>
|
2025-06-20 15:03:23 +00:00
|
|
|
</PanelLayout>
|
2025-06-13 06:03:17 +00:00
|
|
|
);
|
|
|
|
};
|