diff --git a/src/store.js b/src/store.js index 25a8d65d..30e78995 100644 --- a/src/store.js +++ b/src/store.js @@ -33,8 +33,8 @@ let composedEnhancers: any; if (process.env.NODE_ENV === 'development') { const excludeLogger = (getState: GetState, action: Action): boolean => { //'@@router/LOCATION_CHANGE' - const excluded: Array = ['LOG_TO_EXCLUDE', 'log__add']; - const pass: Array = excluded.filter(act => action.type === act); + const excluded: Array = ['LOG_TO_EXCLUDE', 'log__add', undefined]; + const pass: Array = excluded.filter(act => action.type === act); return pass.length === 0; };