fix: 피드에 모르는 글 종류가 오면 그 카드만 건너뜀 (예전 토스 번들이 카드뉴스 종류에서 흰 화면)

This commit is contained in:
minaChoi committed 2026-10-24 18:22:47 +09:00
1 parent 84212099e6
commit 2400957657
1 file changed
+2 -1
+2 -1
View File
@@ -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' ? <LineCard post={post} /> : <FullCard post={post} />
}