diff --git a/apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/engine/cloud/analytics/send-test-tx.client.tsx b/apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/engine/cloud/analytics/send-test-tx.client.tsx index 144d2bd9ba1..16d04b3bcb9 100644 --- a/apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/engine/cloud/analytics/send-test-tx.client.tsx +++ b/apps/dashboard/src/app/(app)/team/[team_slug]/[project_slug]/engine/cloud/analytics/send-test-tx.client.tsx @@ -19,15 +19,10 @@ import { Loader2Icon, LockIcon } from "lucide-react"; import { useState } from "react"; import { useForm } from "react-hook-form"; import { toast } from "sonner"; -import { - arbitrumSepolia, - baseSepolia, - optimismSepolia, - sepolia, -} from "thirdweb/chains"; import * as z from "zod"; import { CopyTextButton } from "../../../../../../../../@/components/ui/CopyTextButton"; import { useTrack } from "../../../../../../../../hooks/analytics/useTrack"; +import { useAllChainsData } from "../../../../../../../../hooks/chains/allChains"; import type { Wallet } from "../server-wallets/wallet-table/types"; import { SmartAccountCell } from "../server-wallets/wallet-table/wallet-table-ui.client"; import { deleteUserAccessToken, getUserAccessToken } from "./utils"; @@ -53,6 +48,7 @@ export function SendTestTransaction(props: { const [hasSentTx, setHasSentTx] = useState(false); const router = useDashboardRouter(); const trackEvent = useTrack(); + const chainsQuery = useAllChainsData(); const userAccessToken = props.userAccessToken ?? getUserAccessToken(props.project.id) ?? ""; @@ -227,32 +223,13 @@ export function SendTestTransaction(props: {

Network

+ chain.testnet === true && + chain.stackType !== "zksync_stack", + ) + .map((chain) => chain.chainId)} client={thirdwebClient} chainId={form.watch("chainId")} onChange={(chainId) => {