import { Comment } from '@plebbit/plebbit-react-hooks'; import styles from './post.module.css'; import useReplies from '../../hooks/use-replies'; import { getLinkMediaInfoMemoized } from '../../lib/utils/media-utils'; const Post = ({ post }: Comment) => { const { author, content, link, title } = post || {}; const { displayName, shortAddress } = author || {}; const replies = useReplies(post); const linkMediaInfo = getLinkMediaInfoMemoized(link); return (