Skip to content

Commit

Permalink
fix: #WB-3199 display 0 comments in preview
Browse files Browse the repository at this point in the history
  • Loading branch information
Romu-C committed Jul 11, 2024
1 parent dbcaaf0 commit 6e1104e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/PostPreview/PostPreviewFooter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ export const PostPreviewFooter = ({ post }: PostPreviewFooterProps) => {
)}
</div>
)}
{!!post.nbComments && (
{post.nbComments !== undefined && (
<div className="post-footer-element">
<Button
onClick={handleClickGoDetail}
Expand Down

0 comments on commit 6e1104e

Please sign in to comment.