Skip to content

Commit

Permalink
Remove unused NetworkControllerStateChange event
Browse files Browse the repository at this point in the history
- **BREAKING**: use `NetworkControllerNetworkDidChangeEvent` instead
  • Loading branch information
MajorLift committed Feb 6, 2024
1 parent 3fbdffa commit b5bd0e8
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/assets-controllers/src/TokenDetectionController.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ import type {
import type {
NetworkClientId,
NetworkControllerNetworkDidChangeEvent,
NetworkControllerStateChangeEvent,
NetworkControllerGetNetworkConfigurationByNetworkClientId,
} from '@metamask/network-controller';
import { StaticIntervalPollingController } from '@metamask/polling-controller';
Expand Down Expand Up @@ -87,7 +86,6 @@ export type TokenDetectionControllerEvents =

export type AllowedEvents =
| AccountsControllerSelectedAccountChangeEvent
| NetworkControllerStateChangeEvent
| NetworkControllerNetworkDidChangeEvent
| TokenListStateChange
| KeyringControllerLockEvent
Expand Down

0 comments on commit b5bd0e8

Please sign in to comment.