spee.ch/react/actions/show.js

31 lines
554 B
JavaScript
Raw Normal View History

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,
};
};