import React from 'react' import { Fab, Card, CardContent, CardHeader, List, ListItem, ListItemAvatar, ListItemText } from '@material-ui/core' import { makeStyles } from '@material-ui/core/styles' import Comments from './Comments' import AddIcon from '@material-ui/icons/Add' import ProfileIcon from '@material-ui/icons/AccountCircle' const Post = ({ post = {}, boardId }) => { const found = Boolean(post.multihash) return ( {post.text || post.multihash || '(This post is empty)'} {boardId && post.multihash && ( )} ) } export default Post