Skip to content

Commit 58bc4a9

Browse files
fix: Remove hardcoded chain list from ConnectButton (#5784)
1 parent 871ad99 commit 58bc4a9

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

apps/wallet-ui/src/components/ConnectButton.tsx

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
11
"use client";
22
import { client } from "@/lib/client";
33
import { useTheme } from "next-themes";
4-
import {
5-
arbitrum,
6-
base,
7-
blast,
8-
defineChain,
9-
mainnet,
10-
optimism,
11-
zkSync,
12-
} from "thirdweb/chains";
134
import { ConnectButton as ThirdwebConnectButton } from "thirdweb/react";
145
import { ecosystemWallet } from "thirdweb/wallets";
156

@@ -20,15 +11,6 @@ export default function ConnectButton({
2011

2112
return (
2213
<ThirdwebConnectButton
23-
chains={[
24-
mainnet,
25-
base,
26-
optimism,
27-
arbitrum,
28-
blast,
29-
zkSync,
30-
defineChain(61166), // Treasure mainnet
31-
]}
3214
wallets={[ecosystemWallet(ecosystem)]}
3315
client={client}
3416
theme={theme === "light" ? "light" : "dark"}

0 commit comments

Comments
 (0)