Skip to content

Commit

Permalink
chore(suite): do not spam console with updateAccountRefreshTimestamp
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasklim committed Dec 21, 2024
1 parent b2e6662 commit 811357b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/suite/src/reducers/store.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import { isCodesignBuild } from '@trezor/env-utils';
import { mergeDeepObject } from '@trezor/utils';
import { prepareTokenDefinitionsReducer } from '@suite-common/token-definitions';
import { prepareFirmwareReducer } from '@suite-common/firmware';
import { accountsActions } from '@suite-common/wallet-core';

import suiteMiddlewares from 'src/middlewares/suite';
import walletMiddlewares from 'src/middlewares/wallet';
Expand Down Expand Up @@ -54,7 +55,7 @@ const middleware = [
...recoveryMiddlewares,
];

const excludedActions = [addLog.type];
const excludedActions = [addLog.type, accountsActions.updateAccountRefreshTimestamp.type];

if (!isCodesignBuild()) {
const excludeLogger = (_getState: any, action: any): boolean =>
Expand Down

0 comments on commit 811357b

Please sign in to comment.