fix getCommentMediaInfo

This commit is contained in:
Tom
2023-04-29 17:10:11 +02:00
parent ac313f55fe
commit 2764a8ae87
+7
View File
@@ -43,6 +43,13 @@ const getCommentMediaInfo = (comment) => {
type: 'webpage',
};
}
if (comment?.link) {
return {
url: comment.link,
type: 'webpage',
};
}
};
export default getCommentMediaInfo;