diff --git a/src/components/Views/Article.tsx b/src/components/Views/Article.tsx index d8679c69..ef73002e 100644 --- a/src/components/Views/Article.tsx +++ b/src/components/Views/Article.tsx @@ -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 }) diff --git a/src/graphql/query/reactions-load-by.ts b/src/graphql/query/reactions-load-by.ts index 442496aa..b9da7a56 100644 --- a/src/graphql/query/reactions-load-by.ts +++ b/src/graphql/query/reactions-load-by.ts @@ -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 } }