From 8f1f875d76b0d3dd1a212ab78a88ca89882fda2f Mon Sep 17 00:00:00 2001 From: Belen Curcio Date: Mon, 18 Dec 2017 13:36:30 -0300 Subject: [PATCH] less data to the store --- plugins/talk-plugin-featured-comments/client/actions.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/plugins/talk-plugin-featured-comments/client/actions.js b/plugins/talk-plugin-featured-comments/client/actions.js index d212ae736..e16f06f48 100644 --- a/plugins/talk-plugin-featured-comments/client/actions.js +++ b/plugins/talk-plugin-featured-comments/client/actions.js @@ -2,8 +2,13 @@ import {OPEN_FEATURED_DIALOG, CLOSE_FEATURED_DIALOG} from './constants'; export const openFeaturedDialog = (comment, asset) => ({ type: OPEN_FEATURED_DIALOG, - comment, - asset, + comment: { + id: comment.id, + tags: comment.tags, + }, + asset: { + id: asset.id, + }, }); export const closeFeaturedDialog = () => ({