diff --git a/apps/dashboard/src/app/(app)/components/autoconnect.tsx b/apps/dashboard/src/app/(app)/components/autoconnect.tsx index 55907421824..b319e22e257 100644 --- a/apps/dashboard/src/app/(app)/components/autoconnect.tsx +++ b/apps/dashboard/src/app/(app)/components/autoconnect.tsx @@ -1,16 +1,7 @@ "use client"; import type { ThirdwebClient } from "thirdweb"; import { AutoConnect } from "thirdweb/react"; -import type { SmartWalletOptions } from "thirdweb/wallets"; -export function TWAutoConnect(props: { - accountAbstraction?: SmartWalletOptions; - client: ThirdwebClient; -}) { - return ( - - ); +export function TWAutoConnect(props: { client: ThirdwebClient }) { + return ; } diff --git a/apps/dashboard/src/app/bridge/components/client/Providers.client.tsx b/apps/dashboard/src/app/bridge/components/client/Providers.client.tsx index 6169b32cbb3..904019498c5 100644 --- a/apps/dashboard/src/app/bridge/components/client/Providers.client.tsx +++ b/apps/dashboard/src/app/bridge/components/client/Providers.client.tsx @@ -2,10 +2,15 @@ import { ThemeProvider } from "next-themes"; import { ThirdwebProvider } from "thirdweb/react"; import { Toaster } from "@/components/ui/sonner"; +import { getClientThirdwebClient } from "@/constants/thirdweb-client.client"; +import { TWAutoConnect } from "../../../(app)/components/autoconnect"; + +const thirdwebClient = getClientThirdwebClient(); export function BridgeProviders({ children }: { children: React.ReactNode }) { return ( +