diff --git a/src/features/Posts/pages/CreatePostPage/Components/PreviewPostCard/PreviewPostCard.tsx b/src/features/Posts/pages/CreatePostPage/Components/PreviewPostCard/PreviewPostCard.tsx index 3dec526..dbfd312 100644 --- a/src/features/Posts/pages/CreatePostPage/Components/PreviewPostCard/PreviewPostCard.tsx +++ b/src/features/Posts/pages/CreatePostPage/Components/PreviewPostCard/PreviewPostCard.tsx @@ -2,6 +2,7 @@ import { marked } from 'marked'; import styles from 'src/features/Posts/pages/PostDetailsPage/Components/PageContent/styles.module.scss' import Badge from "src/Components/Badge/Badge"; import { Post } from "src/graphql"; +import Card from 'src/Components/Card/Card'; function isPost(type?: string): type is 'story' { return type === 'story' @@ -31,8 +32,8 @@ export default function PreviewPostContent({ post, }: Props) { return ( - <> -
+
+ {coverImg &&
-
- {/*
- -
*/} - + + + + ) }