diff --git a/src/features/problems/analysis/components/card.tsx b/src/features/problems/analysis/components/card.tsx index ba53dc3..e521e3b 100644 --- a/src/features/problems/analysis/components/card.tsx +++ b/src/features/problems/analysis/components/card.tsx @@ -20,6 +20,8 @@ import { import type { AnalysisStatus, CodeAnalysis } from "@/generated/client"; import { Alert, AlertDescription, AlertTitle } from "@/components/ui/alert"; import { useTranslations } from "next-intl"; +import MdxPreview from "@/components/mdx-preview"; +import { MdxComponents } from "@/components/content/mdx-components"; interface AnalysisCardProps { submissionId: string; @@ -192,12 +194,11 @@ export const AnalysisCard = ({ submissionId }: AnalysisCardProps) => { -
-

{t("Feedback")}

-

- {analysis.feedback} -

-
+ ); diff --git a/src/features/problems/detail/components/content.tsx b/src/features/problems/detail/components/content.tsx index 0176b54..6dc3c64 100644 --- a/src/features/problems/detail/components/content.tsx +++ b/src/features/problems/detail/components/content.tsx @@ -9,7 +9,7 @@ interface DetailContentProps { export const DetailContent = ({ submissionId }: DetailContentProps) => { return ( - + diff --git a/src/features/problems/detail/components/panel.tsx b/src/features/problems/detail/components/panel.tsx index 573e9dc..29eb219 100644 --- a/src/features/problems/detail/components/panel.tsx +++ b/src/features/problems/detail/components/panel.tsx @@ -21,10 +21,12 @@ export const DetailPanel = ({ submissionId }: DetailPanelProps) => { return ( - - }> - - +
+ + }> + + +
); };