feat: add like button on picture note card

This commit is contained in:
codytseng 2025-01-15 17:10:57 +08:00
parent 92a0f9071f
commit 52daf39584
4 changed files with 10 additions and 6 deletions

View file

@ -23,7 +23,7 @@ export default function ReplyButton({ event }: { event: Event }) {
title={t('Reply')}
>
<MessageCircle size={16} />
<div className="text-sm">{formatCount(replyCount)}</div>
{!!replyCount && <div className="text-sm">{formatCount(replyCount)}</div>}
</button>
<PostEditor parentEvent={event} open={open} setOpen={setOpen} />
</>