From 3a7b17750e04843ec6ff7104ac43ceb1f0da9010 Mon Sep 17 00:00:00 2001 From: Chi Vinh Le Date: Tue, 25 Apr 2017 23:00:11 +0700 Subject: [PATCH] Use unique name for fragment --- .../coral-plugin-respect/client/containers/RespectButton.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/coral-plugin-respect/client/containers/RespectButton.js b/plugins/coral-plugin-respect/client/containers/RespectButton.js index be389c72a..38be8a978 100644 --- a/plugins/coral-plugin-respect/client/containers/RespectButton.js +++ b/plugins/coral-plugin-respect/client/containers/RespectButton.js @@ -9,8 +9,7 @@ import RespectButton from '../components/RespectButton'; const isRespectAction = (a) => a.__typename === 'RespectActionSummary'; const COMMENT_FRAGMENT = gql` - fragment RespectButton_comment on Comment { - id + fragment RespectButton_updateFragment on Comment { action_summaries { ... on RespectActionSummary { count