diff --git a/src/features/bbs/components/MediaDetail.tsx b/src/features/bbs/components/MediaDetail.tsx index 998ea6b..0f8009d 100644 --- a/src/features/bbs/components/MediaDetail.tsx +++ b/src/features/bbs/components/MediaDetail.tsx @@ -124,6 +124,13 @@ export default function MediaDetail({ id, token, categories, onError, onDeleted, 상태: {STATUS[post.status]}
+ {post.description && ( + <> + {/* pre-wrap: 인스타 본문의 줄바꿈을 그대로 보여줌 */} +
{post.description}
+
+ + )} {post.status === "DOWNLOADING" ? (
{post.progress === null ? "다운로드 준비 중..." : bar(post.progress, 20)} diff --git a/src/features/bbs/types.ts b/src/features/bbs/types.ts index 1fa2e03..7aabb56 100644 --- a/src/features/bbs/types.ts +++ b/src/features/bbs/types.ts @@ -38,6 +38,7 @@ export interface MediaFile { export interface MediaPost { id: number; title: string; + description: string | null; // 원본 게시물 설명글 (인스타 본문). 없으면 null sourceUrl: string; category: string | null; // null = 미분류 status: "DOWNLOADING" | "DONE" | "FAILED";