diff --git a/src/components/post/post-contents.tsx b/src/components/post/post-contents.tsx index fd2e521c5..cf7b4d0db 100644 --- a/src/components/post/post-contents.tsx +++ b/src/components/post/post-contents.tsx @@ -1,5 +1,12 @@ import React from "react"; -import { Image, ImageProps, Link, LinkProps } from "@chakra-ui/react"; +import { + AspectRatio, + Box, + Image, + ImageProps, + Link, + LinkProps, +} from "@chakra-ui/react"; import ReactMarkdown from "react-markdown"; import remarkGfm from "remark-gfm"; import remarkImages from "remark-images"; @@ -39,14 +46,16 @@ const HandleLinkTypes = (props: LinkProps) => { const parts = youtubeVideoLink.exec(href); return parts ? ( - + + + ) : ( );