mirror of
https://github.com/wassname/talk.git
synced 2026-10-01 12:42:56 +08:00
less data to the store
This commit is contained in:
1 parent
9fb8e01cd2
commit
8f1f875d76
1 file changed
+7
-2
@@ -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