townsquare/src/store/session.js

9 lines
163 B
JavaScript
Raw Normal View History

2020-05-08 17:33:29 +00:00
module.exports = store => {
// setup
// listen to mutations
store.subscribe(({ type, payload }, state) => {
console.log(type, payload, state);
});
};