diff --git a/src/components/common/BlockchainInfo.tsx b/src/components/common/BlockchainInfo.tsx index 1e83faa0..7b02a0d8 100644 --- a/src/components/common/BlockchainInfo.tsx +++ b/src/components/common/BlockchainInfo.tsx @@ -71,14 +71,14 @@ export const BlockchainInfo: React.FC<{ <> {t("Creation")} {page?.transactionHash.slice(0, 10)} ...{page?.transactionHash.slice(-10)} {t("Last Update")}{" "} {page?.updatedTransactionHash.slice(0, 10)}... @@ -89,14 +89,14 @@ export const BlockchainInfo: React.FC<{ <> {t("Creation")} {site?.transactionHash.slice(0, 10)} ...{site?.transactionHash.slice(-10)} {t("Last Update")}{" "} {site?.updatedTransactionHash.slice(0, 10)}... diff --git a/src/components/common/Comment.tsx b/src/components/common/Comment.tsx index 32857495..68ca6e1b 100644 --- a/src/components/common/Comment.tsx +++ b/src/components/common/Comment.tsx @@ -25,6 +25,10 @@ export const Comment: React.FC<{ noteId: page?.noteId, }) + const data = comments.data?.pages.filter( + (page) => (page?.list?.length ?? 0) > 0, + ) + return (
comments.hasNextPage && comments.fetchNextPage()} components={{ Footer: comments.isLoading ? Loader : undefined,