0
0
mirror of https://github.com/naturalcrit/homebrewery.git synced 2026-01-13 00:03:15 +00:00
Files
homebrewery/shared/naturalcrit/brew.actions.js
2017-01-22 12:36:45 -05:00

15 lines
272 B
JavaScript

const dispatch = require('pico-flux').dispatch;
const Actions = {
addInc : (val = 1) => {
dispatch('ADD_INC', val);
},
delayInc : (val = 1) => {
dispatch('DELAY_INC', val)
},
setInc : (newInc) => {
dispatch('SET_INC', newInc);
},
};
module.exports = Actions;