1
0
Fork 0
mirror of https://github.com/muerwre/vault-frontend.git synced 2025-05-08 19:26:41 +07:00

fixed comments loader

This commit is contained in:
Fedor Katurov 2022-07-17 13:27:33 +07:00
parent 0a1d2cbf99
commit bb81bdae69
16 changed files with 80 additions and 127 deletions

View file

@ -99,6 +99,7 @@ const NodePage: FC<Props> = observer(props => {
comments,
hasMore,
isLoading: isLoadingComments,
isLoadingMore: isLoadingMoreComments,
} = useNodeComments(parseInt(id, 10), props.comments);
const { onDelete: onTagDelete, onChange: onTagsChange, onClick: onTagClick } = useNodeTags(
@ -122,6 +123,7 @@ const NodePage: FC<Props> = observer(props => {
hasMore={hasMore}
lastSeenCurrent={lastSeen}
isLoading={isLoadingComments}
isLoadingMore={isLoadingMoreComments}
onShowImageModal={onShowImageModal}
onLoadMoreComments={onLoadMoreComments}
onDeleteComment={onDeleteComment}