Closed Paranoia8972 closed 2 months ago
@Paranoia8972 is attempting to deploy a commit to the jolbol1's projects Team on Vercel.
A member of the Team first needs to authorize it.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
my-first-blog | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | May 29, 2024 6:37pm |
Thanks for this, all looks good to me!
Description:
Since the implementation of the ability to publish and unpublish posts, it is now essential to ensure that only published posts are displayed to users. This pull request addresses this requirement by adding a condition to the mapping function that renders the list of posts. This condition checks if each post is published before rendering it. If a post is unpublished, it will be excluded from the list.
Changes Made:
post.published
) before rendering it.post.published
), it is excluded from the list.