Loading posts...
)}
{!loading && !apiError && (
{posts.length === 0 ? (
{post.username}
{new Date(post.createdAt).toLocaleString()}
))
)}
)}
No posts found.
) : (
posts.map(post => (
{post.content}
{post.likes}
{post.comments}