@@ -81,7 +81,7 @@ import usePrevious from '../../hooks/usePrevious';
8181import { selectSelectedInternalAccountChecksummedAddress } from '../../../selectors/accountsController' ;
8282import { selectAccountBalanceByChainId } from '../../../selectors/accountTrackerController' ;
8383import {
84- selectUseMultiRpcMigration ,
84+ selectShowMultiRpcModal ,
8585 selectUseNftDetection ,
8686} from '../../../selectors/preferencesController' ;
8787import {
@@ -306,7 +306,7 @@ const Wallet = ({
306306
307307 const networkImageSource = useSelector ( selectNetworkImageSource ) ;
308308 const useNftDetection = useSelector ( selectUseNftDetection ) ;
309- const useMultiRpcMigration = useSelector ( selectUseMultiRpcMigration ) ;
309+ const showMultiRpcModal = useSelector ( selectShowMultiRpcModal ) ;
310310 const isNFTAutoDetectionModalViewed = useSelector (
311311 ( state : RootState ) => state . security . isNFTAutoDetectionModalViewed ,
312312 ) ;
@@ -343,15 +343,15 @@ const Wallet = ({
343343 // navigation.navigate(Routes.MODAL.ROOT_MODAL_FLOW, {
344344 // screen: Routes.MODAL.MULTI_RPC_MIGRATION_MODAL,
345345 // });
346- console . log ( 'useMultiRpcMigration ======' , useMultiRpcMigration ) ;
346+ console . log ( 'showMultiRpcModal ======' , showMultiRpcModal ) ;
347347
348- if ( useMultiRpcMigration ) {
348+ if ( showMultiRpcModal ) {
349349 navigation . navigate ( Routes . MODAL . ROOT_MODAL_FLOW , {
350350 screen : Routes . MODAL . MULTI_RPC_MIGRATION_MODAL ,
351351 } ) ;
352352 dispatch ( setMultiRpcMigrationModalOpen ( true ) ) ;
353353 }
354- } , [ dispatch , useMultiRpcMigration , navigation ] ) ;
354+ } , [ dispatch , showMultiRpcModal , navigation ] ) ;
355355
356356 useEffect ( ( ) => {
357357 if (
0 commit comments