less data to the store

This commit is contained in:
Belen Curcio
2017-12-18 13:36:30 -03:00
parent 9fb8e01cd2
commit 8f1f875d76
@@ -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 = () => ({