mirror of
https://github.com/wassname/talk.git
synced 2026-07-10 19:10:30 +08:00
less data to the store
This commit is contained in:
@@ -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 = () => ({
|
||||
|
||||
Reference in New Issue
Block a user