Skip to content

Commit

Permalink
fix: Remove hardcoded chain list from ConnectButton (#5784)
Browse files Browse the repository at this point in the history
  • Loading branch information
joaquim-verges authored Dec 17, 2024
1 parent 871ad99 commit 58bc4a9
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions apps/wallet-ui/src/components/ConnectButton.tsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
"use client";
import { client } from "@/lib/client";
import { useTheme } from "next-themes";
import {
arbitrum,
base,
blast,
defineChain,
mainnet,
optimism,
zkSync,
} from "thirdweb/chains";
import { ConnectButton as ThirdwebConnectButton } from "thirdweb/react";
import { ecosystemWallet } from "thirdweb/wallets";

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

return (
<ThirdwebConnectButton
chains={[
mainnet,
base,
optimism,
arbitrum,
blast,
zkSync,
defineChain(61166), // Treasure mainnet
]}
wallets={[ecosystemWallet(ecosystem)]}
client={client}
theme={theme === "light" ? "light" : "dark"}
Expand Down

0 comments on commit 58bc4a9

Please sign in to comment.