From 132b0a854d4654fbf53c2c09964dc30be7f3f118 Mon Sep 17 00:00:00 2001 From: Belen Curcio Date: Thu, 18 May 2017 00:22:39 -0300 Subject: [PATCH] linting --- client/coral-framework/graphql/mutations.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/coral-framework/graphql/mutations.js b/client/coral-framework/graphql/mutations.js index cf57688ee..6eb1b4bad 100644 --- a/client/coral-framework/graphql/mutations.js +++ b/client/coral-framework/graphql/mutations.js @@ -136,7 +136,7 @@ export const withAddTag = withMutation( data.tags.push({ tag: { __typename: 'Tag', - name: "BEST" + name: 'BEST' }, __typename: 'TagLink' }); @@ -172,7 +172,7 @@ export const withRemoveTag = withMutation( // Read the data from our cache for this query. const data = proxy.readFragment({fragment: COMMENT_FRAGMENT, id: fragmentId}); - const idx = data.tags.findIndex(i => i.tag.name === 'BEST'); + const idx = data.tags.findIndex((i) => i.tag.name === 'BEST'); data.tags = [...data.tags.slice(0, idx), ...data.tags.slice(idx + 1)];