Skip to content

Commit c74f930

Browse files
committed
remove dependencie
1 parent f51507c commit c74f930

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

  • src/pages/settings/Wallet/WalletPage

src/pages/settings/Wallet/WalletPage/index.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ import useNetwork from '@hooks/useNetwork';
3333
import useOnyx from '@hooks/useOnyx';
3434
import usePaymentMethodState from '@hooks/usePaymentMethodState';
3535
import type {FormattedSelectedPaymentMethod} from '@hooks/usePaymentMethodState/types';
36-
import usePermissions from '@hooks/usePermissions';
3736
import useResponsiveLayout from '@hooks/useResponsiveLayout';
3837
import useTheme from '@hooks/useTheme';
3938
import 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

Comments
 (0)