+ {title && {title}}
+ {content && {content}}
+
+ {is_owner ? (
+ You can't like your own post!}
+ >
+
+
+ ) : like_id ? (
+ {}}>
+
+
+ ) : currentUser ? (
+ {}}>
+
+
+ ) : (
+ Log in to like posts!}
+ >
+
+
+ )}
+ {likes_count}
+
+
+
+ {comments_count}
+
+
);
};
-export default Post;
+export default Post;
\ No newline at end of file