Grab rootQuery too!

This commit is contained in:
okbel
2018-03-01 14:16:15 -03:00
parent d1c0167e9a
commit eaf403353f
@@ -97,11 +97,16 @@ const singleCommentFragment = gql`
edited
editableUntil
}
${getSlotFragmentSpreads(slots, 'root')}
${getSlotFragmentSpreads(slots, 'comment')}
...${getDefinitionName(CommentBox.fragments.root)}
...${getDefinitionName(CommentBox.fragments.comment)}
...${getDefinitionName(ReplyBox.fragments.root)}
...${getDefinitionName(ReplyBox.fragments.comment)}
}
${CommentBox.fragments.root}
${CommentBox.fragments.comment}
${ReplyBox.fragments.root}
${ReplyBox.fragments.comment}
`;