spee.ch/react/actions/show.js
2018-02-01 14:29:33 -08:00

30 lines
554 B
JavaScript

import * as actions from 'constants/show_action_types';
// export action creators
export function updateClaimRequest (claim) {
return {
type: actions.CLAIM_REQUEST_UPDATE,
claim,
};
};
export function updateChannelRequest (channel) {
return {
type: actions.CHANNEL_REQUEST_UPDATE,
channel,
};
};
export function updateChannelData (channelData) {
return {
type: actions.CHANNEL_DATA_UPDATE,
channelData,
};
};
export function updateClaimData (claimData) {
return {
type: actions.CHANNEL_DATA_UPDATE,
};
};