fix: comment list loading

This commit is contained in:
DIYgod 2024-01-11 17:28:54 +08:00
parent b281bac4de
commit 6c74b3b249
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ const Comment = ({
data={data}
endReached={() => comments.hasNextPage && comments.fetchNextPage()}
components={{
Footer: comments.isLoading ? Loading : undefined,
Footer: comments.isFetchingNextPage ? Loading : undefined,
}}
totalListHeightChanged={(height) => {
if (fixHeight && height > 0) {