diff --git a/src/features/review/CodeReview.jsx b/src/features/review/CodeReview.jsx index c409220..c6ade95 100644 --- a/src/features/review/CodeReview.jsx +++ b/src/features/review/CodeReview.jsx @@ -9,14 +9,13 @@ import { } from "@tabler/icons-react"; import Particles from "@tsparticles/react"; -// --- 추가된 부분: 마크다운 & 코드 하이라이팅 --- +// --- 마크다운 & 코드 하이라이팅 --- import ReactMarkdown from "react-markdown"; import remarkGfm from "remark-gfm"; import { Prism as SyntaxHighlighter } from "react-syntax-highlighter"; -import { vscDarkPlus } from "react-syntax-highlighter/dist/esm/styles/prism"; // VS Code 다크 테마 -// ------------------------------------------- +import { vscDarkPlus } from "react-syntax-highlighter/dist/esm/styles/prism"; +// -------------------------------- -// API 분리해서 가져오기 import { fetchCodeReview } from "@/api/reviewService"; const particlesOptions = { @@ -33,8 +32,6 @@ const particlesOptions = { }, }; -// formatReviewText 함수는 이제 필요 없어서 삭제했습니다. - export default function Review() { const [mode, setMode] = useState("code"); @@ -136,7 +133,6 @@ export default function Review() { />