Skip to content

Commit

Permalink
fix: avatars of the latest commentators in article
Browse files Browse the repository at this point in the history
  • Loading branch information
raantoniv committed Nov 5, 2023
1 parent 5ea6a04 commit 5df6e87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/post/[uid].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ const Post: NextPage<Props> = ({ post, recommendation }) => {
</Button>
{post.comments &&
post.comments
.slice(post.comments.length - 3, post.comments.length)
.slice(-3)
.reverse()
.map((comment) => (
<Image
Expand Down

0 comments on commit 5df6e87

Please sign in to comment.