debug actions
This commit is contained in:
parent
7e1d97665a
commit
31905d4f63
|
@ -27,6 +27,8 @@ import { sendEvent } from './functions';
|
|||
* @returns {Function}
|
||||
*/
|
||||
MiddlewareRegistry.register(store => next => action => {
|
||||
action.type && console.info(`ACTION ${getSymbolDescription(action.type)}`);
|
||||
|
||||
const result = next(action);
|
||||
const { type } = action;
|
||||
|
||||
|
|
Loading…
Reference in New Issue