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)];