import React, { FC } from 'react' import { useTranslation, Trans } from 'react-i18next' import { ThreadId } from '../../../../../types/review-panel/review-panel' import { useThreadsActionsContext } from '../context/threads-context' import { Button } from 'react-bootstrap' import MaterialIcon from '@/shared/components/material-icon' import { ExpandableContent } from './review-panel-expandable-content' import { ReviewPanelCommentContent } from './review-panel-comment-content' import { Change, CommentOperation } from '../../../../../types/change' export const ReviewPanelResolvedThread: FC<{ id: string comment: Change docName: string }> = ({ id, comment, docName }) => { const { t } = useTranslation() const { reopenThread, deleteThread } = useThreadsActionsContext() return (
, ]} values={{ filename: docName }} shouldUnescape tOptions={{ interpolation: { escapeValue: true } }} />
{t('quoted_text')}
{comment?.op.c}
) }