Skip to content

Commit d8f5f60

Browse files
committed
fix lint
1 parent cb7726e commit d8f5f60

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ function WalletPage({shouldListenForResize = false}: WalletPageProps) {
6161
const [cardList = getEmptyObject<OnyxTypes.CardList>()] = useOnyx(ONYXKEYS.CARD_LIST, {canBeMissing: true});
6262
const [fundList = getEmptyObject<OnyxTypes.FundList>()] = useOnyx(ONYXKEYS.FUND_LIST, {
6363
canBeMissing: true,
64-
selector: (fundList) => Object.fromEntries(Object.entries(fundList ?? {}).filter(([, item]) => item.accountData?.additionalData?.isP2PDebitCard === true)),
64+
selector: (allFunds) => Object.fromEntries(Object.entries(allFunds ?? {}).filter(([, item]) => item.accountData?.additionalData?.isP2PDebitCard === true)),
6565
});
6666
const [isLoadingPaymentMethods = true] = useOnyx(ONYXKEYS.IS_LOADING_PAYMENT_METHODS, {canBeMissing: true});
6767
const [userWallet] = useOnyx(ONYXKEYS.USER_WALLET, {canBeMissing: true});

0 commit comments

Comments
 (0)