import { getCachedProblem } from "@/lib/prisma";
import { Skeleton } from "@/components/ui/skeleton";
import { MdxRenderer } from "@/components/content/mdx-renderer";
import { ScrollArea, ScrollBar } from "@/components/ui/scroll-area";
interface DescriptionContentProps {
id: string;
}
const DescriptionContent = async ({ id }: DescriptionContentProps) => {
const problem = await getCachedProblem(id);
return (