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