mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix getCommentMediaInfo
This commit is contained in:
@@ -43,6 +43,13 @@ const getCommentMediaInfo = (comment) => {
|
|||||||
type: 'webpage',
|
type: 'webpage',
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (comment?.link) {
|
||||||
|
return {
|
||||||
|
url: comment.link,
|
||||||
|
type: 'webpage',
|
||||||
|
};
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
export default getCommentMediaInfo;
|
export default getCommentMediaInfo;
|
||||||
Reference in New Issue
Block a user