mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
13 lines
268 B
JavaScript
13 lines
268 B
JavaScript
|
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 }
|
||
|
}
|