diff --git a/src/components/Post/Embed/index.tsx b/src/components/Post/Embed/index.tsx index eba80a8d85..28eed2aaa9 100644 --- a/src/components/Post/Embed/index.tsx +++ b/src/components/Post/Embed/index.tsx @@ -37,7 +37,6 @@ import { import {ChatInviteEmbed} from './ChatInviteEmbed' import {ExternalEmbed} from './ExternalEmbed' import {ModeratedFeedEmbed} from './FeedEmbed' -import {GalleryFallbackEmbed} from './GalleryFallbackEmbed' import {ImageEmbed} from './ImageEmbed' import {ModeratedListEmbed} from './ListEmbed' import {PostPlaceholder as PostPlaceholderText} from './PostPlaceholder' @@ -91,7 +90,8 @@ function MediaEmbed({ embed: TEmbed }) { switch (embed.type) { - case 'images': { + case 'images': + case 'gallery': { return ( ) } - case 'gallery': { - return ( - - - - ) - } default: { return null }