Files
buzz-sheet/components/comments/comment-board-content.tsx
T
gunshiz 5812d99715
CI / Verify (push) Successful in 2m30s
CI / Build immutable images and deploy (push) Successful in 3m9s
feat : comment feature
2026-10-08 01:40:08 +07:00

8 lines
361 B
TypeScript

import { getCommentViewer, listComments } from "@/lib/comments/repository";
import { CommentBoard } from "./comment-board";
export async function CommentBoardContent({ target }: { target: string }) {
const initial = await listComments({ target, sort: "top", viewer: await getCommentViewer() });
return <CommentBoard target={target} initial={initial} />;
}