diff --git a/src/components/Post/Embed/index.tsx b/src/components/Post/Embed/index.tsx index 98a89a77e5..eba80a8d85 100644 --- a/src/components/Post/Embed/index.tsx +++ b/src/components/Post/Embed/index.tsx @@ -57,8 +57,7 @@ export function Embed({embed: rawEmbed, ...rest}: EmbedProps) { case 'images': case 'gallery': case 'link': - case 'video': - case 'gallery': { + case 'video': { return } case 'feed': @@ -92,8 +91,7 @@ function MediaEmbed({ embed: TEmbed }) { switch (embed.type) { - case 'images': - case 'gallery': { + case 'images': { return ( } - | { - type: 'gallery' - view: $Typed - } | { type: 'post_with_media' view: Embed @@ -154,11 +150,6 @@ export function parseEmbed(embed: AppBskyFeedDefs.PostView['embed']): Embed { view: parseEmbedRecordView(embed.record), media: parseEmbed(embed.media), } - } else if (AppBskyEmbedGallery.isView(embed)) { - return { - type: 'gallery', - view: embed, - } } else { return { type: 'unknown',