import { formatDate } from "@/lib/utils";
import parse from 'html-react-parser';
export default function CommentReply({ item }: any) {
return (
{ item.is_user_admin == 1
? parse(`

`)
: parse(`
${item.user_name.substring(0,1)} `)
}
{ item.is_user_admin == 1
? parse(`Quản trị viên`)
: parse(` ${item.user_name.split(' -')[0]} `)
}
{formatDate(item.post_time)}
{item.content}
)
}