import { useWalletBalance } from "thirdweb/react";
const tokenAddress = "0x..."; // the ERC20 token address
const { data, isLoading, isError } = useWalletBalance({
chain,
address,
client,
tokenAddress,
});
console.log("balance", data?.displayValue, data?.symbol);