File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
packages/thirdweb/src/react/core/hooks Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import type { ThirdwebClient } from "../../../client/client.js";
1010import { getOwnedTokens } from "../../../insight/get-tokens.js" ;
1111import { toTokens } from "../../../utils/units.js" ;
1212import type { Wallet } from "../../../wallets/interfaces/wallet.js" ;
13- import { getWalletBalance } from "../../../wallets/utils/getWalletBalance.js" ;
13+ import { getWalletBalance , type GetWalletBalanceResult } from "../../../wallets/utils/getWalletBalance.js" ;
1414import type { PaymentMethod } from "../machines/paymentMachine.js" ;
1515import { useActiveWallet } from "./wallets/useActiveWallet.js" ;
1616
@@ -81,7 +81,7 @@ export function usePaymentMethods(options: {
8181 const limit = 500 ;
8282
8383 while ( true ) {
84- let batch ;
84+ let batch : GetWalletBalanceResult [ ] ;
8585 try {
8686 batch = await getOwnedTokens ( {
8787 chains : insightEnabledChains . map ( ( c ) => getCachedChain ( c . chainId ) ) ,
You can’t perform that action at this time.
0 commit comments