diff --git a/src/components/views/AllCatalog.jsx b/src/components/views/AllCatalog.jsx index 88819ac8..f495bb91 100755 --- a/src/components/views/AllCatalog.jsx +++ b/src/components/views/AllCatalog.jsx @@ -17,6 +17,7 @@ import VerifiedAuthor from '../VerifiedAuthor'; import ModerationModal from '../modals/ModerationModal'; import OfflineIndicator from '../OfflineIndicator'; import SettingsModal from '../modals/SettingsModal'; +import countLinks from '../../utils/countLinks'; import getCommentMediaInfo from '../../utils/getCommentMediaInfo'; import handleStyleChange from '../../utils/handleStyleChange'; import useError from '../../hooks/useError'; @@ -464,6 +465,7 @@ const AllCatalog = () => { const commentMediaInfo = getCommentMediaInfo(thread); const fallbackImgUrl = "assets/filedeleted-res.gif"; const isModerator = moderatorPermissions[thread.subplebbitAddress]; + const linkCount = countLinks(thread); return (