mirror of
https://github.com/wassname/talk.git
synced 2026-06-30 06:31:27 +08:00
17 lines
341 B
JavaScript
17 lines
341 B
JavaScript
import {OPEN_FEATURED_DIALOG, CLOSE_FEATURED_DIALOG} from './constants';
|
|
|
|
export const openFeaturedDialog = (comment, asset) => ({
|
|
type: OPEN_FEATURED_DIALOG,
|
|
comment: {
|
|
id: comment.id,
|
|
tags: comment.tags,
|
|
},
|
|
asset: {
|
|
id: asset.id,
|
|
},
|
|
});
|
|
|
|
export const closeFeaturedDialog = () => ({
|
|
type: CLOSE_FEATURED_DIALOG,
|
|
});
|