fixed-comments
This commit is contained in:
parent
48153582fe
commit
fe066b7e3f
|
@ -14,7 +14,7 @@ interface ArticlePageProps {
|
|||
const ARTICLE_COMMENTS_PAGE_SIZE = 50
|
||||
|
||||
export const ArticleView = (props: ArticlePageProps) => {
|
||||
const [getCommentsPage] = createSignal(1)
|
||||
const [getCommentsPage] = createSignal(0)
|
||||
const [getIsCommentsLoading, setIsCommentsLoading] = createSignal(false)
|
||||
const { reactionsByShout, loadReactionsBy } = useReactionsStore({ reactions: props.reactions })
|
||||
|
||||
|
|
|
@ -4,14 +4,18 @@ export default gql`
|
|||
query LoadReactions($by: ReactionBy!, $limit: Int, $offset: Int) {
|
||||
loadReactionsBy(by: $by, limit: $limit, offset: $offset) {
|
||||
id
|
||||
shout {
|
||||
title
|
||||
}
|
||||
body
|
||||
createdAt
|
||||
range
|
||||
replyTo {
|
||||
id
|
||||
# kind
|
||||
}
|
||||
createdBy {
|
||||
name
|
||||
slug
|
||||
userpic
|
||||
}
|
||||
createdAt
|
||||
updatedAt
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user