@@ -87,7 +87,6 @@ import {
87
87
} from '../../../util/transaction-controller' ;
88
88
import isNetworkUiRedesignEnabled from '../../../util/networks/isNetworkUiRedesignEnabled' ;
89
89
import { useConnectionHandler } from '../../../util/navigation/useConnectionHandler' ;
90
- import { AssetPollingProvider } from '../../hooks/AssetPolling/AssetPollingProvider' ;
91
90
import { getGlobalEthQuery } from '../../../util/networks/global-network' ;
92
91
import { selectIsEvmNetworkSelected } from '../../../selectors/multichainNetworkController' ;
93
92
import { isPortfolioViewEnabled } from '../../../util/networks' ;
@@ -415,37 +414,35 @@ const Main = (props) => {
415
414
416
415
return (
417
416
< React . Fragment >
418
- < AssetPollingProvider >
419
- < View style = { styles . flex } >
420
- { ! forceReload ? (
421
- < MainNavigator navigation = { props . navigation } />
422
- ) : (
423
- renderLoader ( )
424
- ) }
425
- < GlobalAlert />
426
- < FadeOutOverlay />
427
- < Notification navigation = { props . navigation } />
428
- < RampOrders />
429
- < SwapsLiveness />
430
- < BackupAlert
431
- onDismiss = { toggleRemindLater }
432
- navigation = { props . navigation }
433
- />
434
- { renderDeprecatedNetworkAlert (
435
- props . chainId ,
436
- props . backUpSeedphraseVisible ,
437
- ) }
438
- < SkipAccountSecurityModal
439
- modalVisible = { showRemindLaterModal }
440
- onCancel = { skipAccountModalSecureNow }
441
- onConfirm = { skipAccountModalSkip }
442
- skipCheckbox = { skipCheckbox }
443
- toggleSkipCheckbox = { toggleSkipCheckbox }
444
- />
445
- < ProtectYourWalletModal navigation = { props . navigation } />
446
- < RootRPCMethodsUI navigation = { props . navigation } />
447
- </ View >
448
- </ AssetPollingProvider >
417
+ < View style = { styles . flex } >
418
+ { ! forceReload ? (
419
+ < MainNavigator navigation = { props . navigation } />
420
+ ) : (
421
+ renderLoader ( )
422
+ ) }
423
+ < GlobalAlert />
424
+ < FadeOutOverlay />
425
+ < Notification navigation = { props . navigation } />
426
+ < RampOrders />
427
+ < SwapsLiveness />
428
+ < BackupAlert
429
+ onDismiss = { toggleRemindLater }
430
+ navigation = { props . navigation }
431
+ />
432
+ { renderDeprecatedNetworkAlert (
433
+ props . chainId ,
434
+ props . backUpSeedphraseVisible ,
435
+ ) }
436
+ < SkipAccountSecurityModal
437
+ modalVisible = { showRemindLaterModal }
438
+ onCancel = { skipAccountModalSecureNow }
439
+ onConfirm = { skipAccountModalSkip }
440
+ skipCheckbox = { skipCheckbox }
441
+ toggleSkipCheckbox = { toggleSkipCheckbox }
442
+ />
443
+ < ProtectYourWalletModal navigation = { props . navigation } />
444
+ < RootRPCMethodsUI navigation = { props . navigation } />
445
+ </ View >
449
446
</ React . Fragment >
450
447
) ;
451
448
} ;
0 commit comments