Skip to content

Commit

Permalink
fix: Remove balance check timer
Browse files Browse the repository at this point in the history
  • Loading branch information
devkudasov committed Aug 19, 2024
1 parent 3ae0719 commit 52ebf01
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/event-actions/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,13 @@ import {onWalletReset} from '@app/event-actions/on-wallet-reset';
import {onWalletSssCheck} from '@app/event-actions/on-wallet-sss-check';
import {onWalletSssSaved} from '@app/event-actions/on-wallet-sss-saved';
import {onWalletVisibilityChange} from '@app/event-actions/on-wallet-visibility-change';
import {onWalletsBalanceCheck} from '@app/event-actions/on-wallets-balance-check';
// import {onWalletsStakingBalanceCheck} from '@app/event-actions/on-wallets-staking-balance-check';
// import {onWalletsVestingBalanceCheck} from '@app/event-actions/on-wallets-vesting-balance-check';
import {Events} from '@app/events';
import {throttle} from '@app/utils';

import {onPushTokenRefresh} from './on-push-token-refresh';

app.on(Events.onWalletsBalanceCheck, throttle(onWalletsBalanceCheck, 1000));
// app.on(Events.onWalletsVestingBalanceCheck, onWalletsVestingBalanceCheck);
// app.on(Events.onWalletsStakingBalanceCheck, onWalletsStakingBalanceCheck);
app.on(Events.onSyncAppBalances, onSyncAppBalances);
Expand Down

0 comments on commit 52ebf01

Please sign in to comment.