@@ -33,7 +33,6 @@ import useNetwork from '@hooks/useNetwork';
3333import useOnyx from '@hooks/useOnyx' ;
3434import usePaymentMethodState from '@hooks/usePaymentMethodState' ;
3535import type { FormattedSelectedPaymentMethod } from '@hooks/usePaymentMethodState/types' ;
36- import usePermissions from '@hooks/usePermissions' ;
3736import useResponsiveLayout from '@hooks/useResponsiveLayout' ;
3837import useTheme from '@hooks/useTheme' ;
3938import useThemeStyles from '@hooks/useThemeStyles' ;
@@ -115,7 +114,6 @@ function WalletPage() {
115114 const styles = useThemeStyles ( ) ;
116115 const network = useNetwork ( ) ;
117116 const { shouldUseNarrowLayout} = useResponsiveLayout ( ) ;
118- const { isBetaEnabled} = usePermissions ( ) ;
119117 const { paymentMethod, setPaymentMethod, resetSelectedPaymentMethodData} = usePaymentMethodState ( ) ;
120118 const { showConfirmModal} = useConfirmModal ( ) ;
121119 const [ shouldShowLoadingSpinner , setShouldShowLoadingSpinner ] = useState ( false ) ;
@@ -659,7 +657,7 @@ function WalletPage() {
659657 ]
660658 : [ ] ) ,
661659 ] ;
662- } , [ bottomMountItem , confirmDeleteCard , isBetaEnabled , icons . MoneySearch , icons . Table , icons . Trashcan , paymentMethod . methodID , selectedCard ?. bank , shouldUseNarrowLayout , translate ] ) ;
660+ } , [ bottomMountItem , confirmDeleteCard , icons . MoneySearch , icons . Table , icons . Trashcan , paymentMethod . methodID , selectedCard ?. bank , shouldUseNarrowLayout , translate ] ) ;
663661
664662 if ( isLoadingApp ) {
665663 const reasonAttributes : SkeletonSpanReasonAttributes = { context : 'WalletPage' , isLoadingApp : ! ! isLoadingApp } ;
0 commit comments