mirror of
https://github.com/trezor/trezor-wallet
synced 2024-11-28 03:08:30 +00:00
disable PromiseActions from logger
This commit is contained in:
parent
7f11e7207b
commit
815fba5e6b
@ -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<string> = ['LOG_TO_EXCLUDE', 'log__add'];
|
||||
const pass: Array<string> = excluded.filter(act => action.type === act);
|
||||
const excluded: Array<?string> = ['LOG_TO_EXCLUDE', 'log__add', undefined];
|
||||
const pass: Array<?string> = excluded.filter(act => action.type === act);
|
||||
return pass.length === 0;
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user