"use client" import { Tooltip } from "~/components/ui/Tooltip" import { useTranslation } from "~/lib/i18n/client" import { cn, scrollTo } from "~/lib/utils" import { useCheckComment, useGetComments } from "~/queries/page" import { Button } from "../ui/Button" export const ReactionComment = ({ characterId, noteId, }: { characterId?: number noteId?: number }) => { const { t } = useTranslation("common") const comments = useGetComments({ characterId: characterId, noteId: noteId, }) const isCommented = useCheckComment({ noteCharacterId: characterId, noteId: noteId, }) return ( <>
) }