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' ? : }