Files
talk/plugins/talk-plugin-featured-comments/client/actions.js
T
2017-12-18 13:34:48 -03:00

12 lines
265 B
JavaScript

import {OPEN_FEATURED_DIALOG, CLOSE_FEATURED_DIALOG} from './constants';
export const openFeaturedDialog = (comment, asset) => ({
type: OPEN_FEATURED_DIALOG,
comment,
asset,
});
export const closeFeaturedDialog = () => ({
type: CLOSE_FEATURED_DIALOG,
});