1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00
next.js/examples/with-apollo-and-redux-saga/lib/count/actions.js

13 lines
270 B
JavaScript
Raw Normal View History

export const actionTypes = {
COUNT_INCREASE: 'COUNT_INCREASE',
COUNT_DECREASE: 'COUNT_DECREASE'
}
export function countIncrease () {
return { type: actionTypes.COUNT_INCREASE }
}
export function countDecrease () {
return { type: actionTypes.COUNT_DECREASE }
}