mirror of
https://github.com/cfngc4594/monaco-editor-lsp-next.git
synced 2025-07-04 17:30:52 +00:00
20 lines
504 B
TypeScript
20 lines
504 B
TypeScript
import { Suspense } from "react";
|
|
import {
|
|
BotContent,
|
|
BotContentSkeleton,
|
|
} from "@/features/problems/bot/components/content";
|
|
|
|
interface BotPanelProps {
|
|
problemId: string;
|
|
}
|
|
|
|
export const BotPanel = ({ problemId }: BotPanelProps) => {
|
|
return (
|
|
<div className="h-full flex flex-col border border-t-0 border-muted rounded-b-lg bg-background overflow-hidden">
|
|
<Suspense fallback={<BotContentSkeleton />}>
|
|
<BotContent problemId={problemId} />
|
|
</Suspense>
|
|
</div>
|
|
);
|
|
};
|