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:
parent
0a1d2cbf99
commit
bb81bdae69
16 changed files with 80 additions and 127 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue