mirror of https://github.com/bra1n/townsquare.git
9 lines
163 B
JavaScript
9 lines
163 B
JavaScript
|
module.exports = store => {
|
||
|
// setup
|
||
|
|
||
|
// listen to mutations
|
||
|
store.subscribe(({ type, payload }, state) => {
|
||
|
console.log(type, payload, state);
|
||
|
});
|
||
|
};
|