diff --git a/pages/article/[id].js b/pages/article/[id].js index 3decc3c7..5821aa31 100644 --- a/pages/article/[id].js +++ b/pages/article/[id].js @@ -173,7 +173,8 @@ const LOAD_ARTICLE = gql` cooccurrences { ...CooccurrenceSectionData } - articleCategories(statuses: $articleCategoryStatuses) { + articleCategories(statuses: $articleCategoryStatuses) + @connection(key: "articleCategories") { ...ArticleCategoryData ...AddCategoryDialogData } @@ -221,7 +222,8 @@ const LOAD_ARTICLE_FOR_USER = gql` articleReplies(statuses: $articleReplyStatuses) { ...ArticleReplyForUser } - articleCategories(statuses: $articleCategoryStatuses) { + articleCategories(statuses: $articleCategoryStatuses) + @connection(key: "articleCategories") { ...ArticleCategoryDataForUser ...AddCategoryDialogData }