import useBeerPostComments from '@/hooks/useBeerPostComments'; import CommentQueryResult from '@/services/types/CommentSchema/CommentQueryResult'; import { FC, useState } from 'react'; import { useInView } from 'react-intersection-observer'; import { z } from 'zod'; import CommentContentBody from './CommentContentBody'; import EditCommentBody from './EditCommentBody'; interface CommentCardProps { comment: z.infer; mutate: ReturnType['mutate']; ref?: ReturnType['ref']; } const CommentCardBody: FC = ({ comment, mutate, ref }) => { const [inEditMode, setInEditMode] = useState(false); return !inEditMode ? ( ) : ( ); }; export default CommentCardBody;