We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb7726e commit d8f5f60Copy full SHA for d8f5f60
1 file changed
src/pages/settings/Wallet/WalletPage/WalletPage.tsx
@@ -61,7 +61,7 @@ function WalletPage({shouldListenForResize = false}: WalletPageProps) {
61
const [cardList = getEmptyObject<OnyxTypes.CardList>()] = useOnyx(ONYXKEYS.CARD_LIST, {canBeMissing: true});
62
const [fundList = getEmptyObject<OnyxTypes.FundList>()] = useOnyx(ONYXKEYS.FUND_LIST, {
63
canBeMissing: true,
64
- selector: (fundList) => Object.fromEntries(Object.entries(fundList ?? {}).filter(([, item]) => item.accountData?.additionalData?.isP2PDebitCard === true)),
+ selector: (allFunds) => Object.fromEntries(Object.entries(allFunds ?? {}).filter(([, item]) => item.accountData?.additionalData?.isP2PDebitCard === true)),
65
});
66
const [isLoadingPaymentMethods = true] = useOnyx(ONYXKEYS.IS_LOADING_PAYMENT_METHODS, {canBeMissing: true});
67
const [userWallet] = useOnyx(ONYXKEYS.USER_WALLET, {canBeMissing: true});
0 commit comments