From 39bd0eca6f143b73f574abdd8a90eb1359d7d793 Mon Sep 17 00:00:00 2001 From: riley Date: Wed, 3 May 2017 12:45:49 -0600 Subject: [PATCH] remove pointless change --- client/coral-admin/src/graphql/queries/index.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/client/coral-admin/src/graphql/queries/index.js b/client/coral-admin/src/graphql/queries/index.js index c251e5759..64bf096ba 100644 --- a/client/coral-admin/src/graphql/queries/index.js +++ b/client/coral-admin/src/graphql/queries/index.js @@ -63,15 +63,13 @@ export const loadMore = (fetchMore) => ({limit, cursor, sort, tab, asset_id}) => asset_id }, updateQuery: (oldData, {fetchMoreResult:{comments}}) => { - const updatedData = { + return { ...oldData, [tab]: [ ...oldData[tab], ...comments ] }; - - return updatedData; } }); };