Skip to content

Commit c512d2c

Browse files
committed
lint
1 parent 65972fe commit c512d2c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

packages/thirdweb/src/react/core/hooks/usePaymentMethods.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,10 @@ import type { ThirdwebClient } from "../../../client/client.js";
1010
import { getOwnedTokens } from "../../../insight/get-tokens.js";
1111
import { toTokens } from "../../../utils/units.js";
1212
import type { Wallet } from "../../../wallets/interfaces/wallet.js";
13-
import { getWalletBalance } from "../../../wallets/utils/getWalletBalance.js";
13+
import {
14+
type GetWalletBalanceResult,
15+
getWalletBalance,
16+
} from "../../../wallets/utils/getWalletBalance.js";
1417
import type { PaymentMethod } from "../machines/paymentMachine.js";
1518
import { useActiveWallet } from "./wallets/useActiveWallet.js";
1619

@@ -81,7 +84,7 @@ export function usePaymentMethods(options: {
8184
const limit = 500;
8285

8386
while (true) {
84-
let batch;
87+
let batch: GetWalletBalanceResult[];
8588
try {
8689
batch = await getOwnedTokens({
8790
chains: insightEnabledChains.map((c) => getCachedChain(c.chainId)),

0 commit comments

Comments
 (0)