diff --git a/src/components/post-desktop/post-desktop.tsx b/src/components/post-desktop/post-desktop.tsx index 53aade6f..7f3fd0f8 100644 --- a/src/components/post-desktop/post-desktop.tsx +++ b/src/components/post-desktop/post-desktop.tsx @@ -71,7 +71,7 @@ const PostInfo = ({ const { t } = useTranslation(); const { author, cid, deleted, locked, pinned, parentCid, postCid, reason, removed, state, subplebbitAddress, timestamp } = post || {}; const title = post?.title?.trim(); - const { replies } = useReplies({ comment: post }); + const { replies } = useReplies({ comment: post, accountComments: { newerThan: Infinity } }); const { address, shortAddress } = author || {}; const displayName = author?.displayName?.trim(); const authorRole = roles?.[address]?.role?.replace('moderator', 'mod'); @@ -468,7 +468,7 @@ const PostDesktop = ({ const { hidden, unhide, hide } = useHide({ cid }); const isHidden = hidden && !isInPostPageView; - const { replies, hasMore, loadMore } = useReplies({ comment: post, flat: true }); + const { replies, hasMore, loadMore } = useReplies({ comment: post, flat: true, accountComments: { newerThan: Infinity } }); const visiblelinksCount = useCountLinksInReplies(post, 5); const totalLinksCount = useCountLinksInReplies(post); const replyCount = replies?.length; diff --git a/src/components/post-mobile/post-mobile.tsx b/src/components/post-mobile/post-mobile.tsx index c67741a5..98559751 100644 --- a/src/components/post-mobile/post-mobile.tsx +++ b/src/components/post-mobile/post-mobile.tsx @@ -251,7 +251,7 @@ const PostMediaContent = ({ post, link }: { post: any; link: string }) => { const ReplyBacklinks = ({ post }: PostProps) => { const { cid, parentCid } = post || {}; - const { replies } = useReplies({ comment: post, flat: true }); + const { replies } = useReplies({ comment: post, flat: true, accountComments: { newerThan: Infinity } }); return ( cid && @@ -325,7 +325,7 @@ const PostMobile = ({ const defaultSubplebbits = useDefaultSubplebbits(); const boardPath = subplebbitAddress ? getBoardPath(subplebbitAddress, defaultSubplebbits) : undefined; const linksCount = useCountLinksInReplies(post); - const { replies, hasMore, loadMore } = useReplies({ comment: post }); + const { replies, hasMore, loadMore } = useReplies({ comment: post, accountComments: { newerThan: Infinity } }); const isInPostPageView = isPostPageView(location.pathname, params); const { hidden, unhide } = useHide({ cid });