"use client" import { MessageCircle } from "lucide-react" import { useCommentStore } from "@/store/comments" interface PostCommentCountProps { postId: string } export function PostCommentCount({ postId }: PostCommentCountProps) { const count = useCommentStore( (state) => state.comments.filter((comment) => comment.postId === postId).length, ) return ( {count} ) }