"use client"; import Chart from "./chart"; import Comment from "@/app/component/comment"; import ModalAnswer from "./modal/ModalAnswer"; function Comments({ doctor, comments, rateAggregate }) { const isUnclaimed = doctor?.owner_status !== "claimed"; const hasComments = comments?.length > 0; const hideRatingBlock = isUnclaimed && !hasComments; return (
); } export default Comments;