File tree 1 file changed +1
-19
lines changed
1 file changed +1
-19
lines changed Original file line number Diff line number Diff line change @@ -76,11 +76,7 @@ import {
76
76
getHDEntropyIndex ,
77
77
getAllChainsToPoll ,
78
78
} from '../../../selectors' ;
79
- import {
80
- detectNfts ,
81
- setSelectedAccount ,
82
- getNetworksWithTransactionActivityByAccounts ,
83
- } from '../../../store/actions' ;
79
+ import { detectNfts , setSelectedAccount } from '../../../store/actions' ;
84
80
import {
85
81
MetaMetricsEventAccountType ,
86
82
MetaMetricsEventCategory ,
@@ -516,20 +512,6 @@ export const AccountListMenu = ({
516
512
} ;
517
513
///: END:ONLY_INCLUDE_IF(multichain)
518
514
519
- const fetchAccountsWithActivity = useCallback ( async ( ) => {
520
- try {
521
- await dispatch ( getNetworksWithTransactionActivityByAccounts ( ) ) ;
522
- } catch ( error ) {
523
- console . error ( 'Failed to fetch accounts with activity:' , error ) ;
524
- }
525
- } , [ dispatch ] ) ;
526
-
527
- useEffect ( ( ) => {
528
- if ( filteredAccounts . length > 0 ) {
529
- fetchAccountsWithActivity ( ) ;
530
- }
531
- } , [ fetchAccountsWithActivity , filteredAccounts ] ) ;
532
-
533
515
return (
534
516
< Modal isOpen onClose = { onClose } >
535
517
< ModalOverlay />
You can’t perform that action at this time.
0 commit comments