"use client"; import { Star1 } from "iconsax-react"; import { useMemo } from "react"; import { useTranslation } from "react-i18next"; import { ReviewThread, buildThreadMessages, formatReviewMessageTime } from "../utils/reviewHelpers"; type Props = { thread: ReviewThread; }; function ReviewChatThread({ thread }: Props) { const { t } = useTranslation("rating"); const messages = useMemo(() => buildThreadMessages(thread), [thread]); const getTranslationKey = (point: string, isPositive: boolean): string => { const basePath = isPositive ? "Tabs.Strengths.Options" : "Tabs.Weeknesses.Options"; return `${basePath}.${point}`; }; return (
); } export default ReviewChatThread;