From 9c0350ca244b53e3f180a499350fa3fdfcb8fd1e Mon Sep 17 00:00:00 2001 From: plebeius Date: Wed, 25 Feb 2026 15:19:13 +0800 Subject: [PATCH] fix(board-buttons): use postCid for page number in PostPageStats --- src/components/board-buttons/board-buttons.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/board-buttons/board-buttons.tsx b/src/components/board-buttons/board-buttons.tsx index de58c127..b5bae65e 100644 --- a/src/components/board-buttons/board-buttons.tsx +++ b/src/components/board-buttons/board-buttons.tsx @@ -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 || {};