import Item from './item' import Reply from './reply' import Comment from './comment' import Text from './text' import Comments from './comments' import styles from '../styles/item.module.css' import { NOFOLLOW_LIMIT } from '../lib/constants' import { useMe } from './me' import { Button } from 'react-bootstrap' function BioItem ({ item, handleClick }) { const me = useMe() if (!item.text) { return null } return ( <> {me?.name === item.user.name &&
} ) } function TopLevelItem ({ item }) { return ( {item.text && } ) } function ItemText ({ item }) { return {item.text} } export default function ItemFull ({ item, bio, ...props }) { return ( <> {item.parentId ? : (
{ bio ? : }
)} {item.comments &&
} ) }