diff --git a/client/coral-admin/src/graphql/mutations/index.js b/client/coral-admin/src/graphql/mutations/index.js index f2845887b..4d62201d1 100644 --- a/client/coral-admin/src/graphql/mutations/index.js +++ b/client/coral-admin/src/graphql/mutations/index.js @@ -64,7 +64,7 @@ export const setCommentStatus = graphql(SET_COMMENT_STATUS, { } else { comment.status = 'ACCEPTED'; acceptedCount++; - accepted = [comment, ...oldData.accepted] + accepted = [comment, ...oldData.accepted]; } const premod = oldData.premod.filter(c => c.id !== commentId);