From 2400957657e2f1ffbe6bd661d383ed3ddb1e3279 Mon Sep 17 00:00:00 2001 From: Mina Choi Date: Sat, 24 Oct 2026 18:22:47 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=ED=94=BC=EB=93=9C=EC=97=90=20=EB=AA=A8?= =?UTF-8?q?=EB=A5=B4=EB=8A=94=20=EA=B8=80=20=EC=A2=85=EB=A5=98=EA=B0=80=20?= =?UTF-8?q?=EC=98=A4=EB=A9=B4=20=EA=B7=B8=20=EC=B9=B4=EB=93=9C=EB=A7=8C=20?= =?UTF-8?q?=EA=B1=B4=EB=84=88=EB=9C=80=20(=EC=98=88=EC=A0=84=20=ED=86=A0?= =?UTF-8?q?=EC=8A=A4=20=EB=B2=88=EB=93=A4=EC=9D=B4=20=EC=B9=B4=EB=93=9C?= =?UTF-8?q?=EB=89=B4=EC=8A=A4=20=EC=A2=85=EB=A5=98=EC=97=90=EC=84=9C=20?= =?UTF-8?q?=ED=9D=B0=20=ED=99=94=EB=A9=B4)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/b/Post.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/b/Post.tsx b/frontend/src/b/Post.tsx index c346428..ab16fe1 100644 --- a/frontend/src/b/Post.tsx +++ b/frontend/src/b/Post.tsx @@ -302,8 +302,9 @@ function LineCard({ post }: PostProps) { ) } -/** 인스타식 게시물: 옆으로 넘기는 슬라이드, 두 번 눌러 좋아요 */ +/** 인스타식 게시물: 옆으로 넘기는 슬라이드, 두 번 눌러 좋아요. 모르는 종류(서버에 새로 생긴 것)는 건너뛴다 */ export function PostCard({ post }: PostProps) { + if (!(post.post_type in ACCOUNTS)) return null return post.size === 'line' ? : }