diff --git a/apps/dashboard/src/app/(app)/account/layout.tsx b/apps/dashboard/src/app/(app)/account/layout.tsx
index 9021b15631a..e499dda12a3 100644
--- a/apps/dashboard/src/app/(app)/account/layout.tsx
+++ b/apps/dashboard/src/app/(app)/account/layout.tsx
@@ -46,7 +46,7 @@ export default async function AccountLayout(props: {
/>
{props.children}
-
+
);
diff --git a/apps/dashboard/src/app/(app)/components/autoconnect.tsx b/apps/dashboard/src/app/(app)/components/autoconnect.tsx
index c94e616321e..fa86400d5ed 100644
--- a/apps/dashboard/src/app/(app)/components/autoconnect.tsx
+++ b/apps/dashboard/src/app/(app)/components/autoconnect.tsx
@@ -1,16 +1,15 @@
"use client";
-import { getClientThirdwebClient } from "@/constants/thirdweb-client.client";
+import type { ThirdwebClient } from "thirdweb";
import { AutoConnect } from "thirdweb/react";
import type { SmartWalletOptions } from "thirdweb/wallets";
-const client = getClientThirdwebClient();
-
export function TWAutoConnect(props: {
accountAbstraction?: SmartWalletOptions;
+ client: ThirdwebClient;
}) {
return (
);
diff --git a/apps/dashboard/src/app/(app)/providers.tsx b/apps/dashboard/src/app/(app)/providers.tsx
index 00879438746..e7b9cba9328 100644
--- a/apps/dashboard/src/app/(app)/providers.tsx
+++ b/apps/dashboard/src/app/(app)/providers.tsx
@@ -18,6 +18,7 @@ import {
import { TWAutoConnect } from "./components/autoconnect";
const queryClient = new QueryClient();
+const thirdwebClient = getClientThirdwebClient();
export function AppRouterProviders(props: { children: React.ReactNode }) {
return (
@@ -26,7 +27,7 @@ export function AppRouterProviders(props: { children: React.ReactNode }) {
-
+
-
+