fix(board-buttons): use postCid for page number in PostPageStats

This commit is contained in:
plebeius
2026-02-25 15:19:13 +08:00
parent 37d40626e7
commit 9c0350ca24
@@ -465,7 +465,7 @@ export const PostPageStats = () => {
const subplebbitAddress = resolvedAddress || accountComment?.subplebbitAddress;
const comment = useComment({ commentCid });
const postCid = comment?.parentCid ?? commentCid;
const postCid = comment?.postCid ?? commentCid;
const post = useComment({ commentCid: postCid });
const { closed, pinned, replyCount } = post || {};