rsnext/examples/with-refnux/store/counterIncrement.js

6 lines
123 B
JavaScript
Raw Normal View History

const counterIncrement = ({ counter }, dispatch) => {
2017-02-21 05:13:05 +01:00
return { counter: counter + 1 }
}
2017-02-21 21:52:44 +01:00
export default counterIncrement