+
+
+
+ {comment.author?.displayName
+ ? comment.author?.displayName.length > 15
+ ? <>
+
+ {comment.author?.displayName.slice(0, 15) + " (...)"}
+
+ >
+ :
+ {comment.author?.displayName}
+ :
+ Anonymous}
+
+
+ (u/
+
+ {comment.author?.shortAddress}
+
+ )
+
+
+ {comment.title ? (
+ comment.title.length > 30 ?
+ <>
+
+ {comment.title.slice(0, 30) + " (...)"}
+
+ >
+ :
+ {comment.title}
+ ) : null}
+
+
+ {getDate(comment?.timestamp)}
+
+
+
+ Pending
+
+
+ {commentMediaInfo?.url ? (
+ commentMediaInfo.type === "webpage" ? (
+
+
+
e.target.src = fallbackImgUrl} />
+ {commentMediaInfo.type}
+
+
+ ) : commentMediaInfo.type === "image" ? (
+
+
+
e.target.src = fallbackImgUrl} />
+ {commentMediaInfo.type}
+
+
+ ) : commentMediaInfo.type === "video" ? (
+
+
+
+
+ ) : commentMediaInfo.type === "audio" ? (
+
+
+
+
+ ) : null
+ ) : null}
+
+ {comment.content ? (
+ <>
+
+ >
+ ) : null}
+
+