diff --git a/apps/dashboard/src/app/team/[team_slug]/[project_slug]/connect/account-abstraction/AccountAbstractionPage.tsx b/apps/dashboard/src/app/team/[team_slug]/[project_slug]/connect/account-abstraction/AccountAbstractionPage.tsx
index fcb3fd01e5d..00328f55525 100644
--- a/apps/dashboard/src/app/team/[team_slug]/[project_slug]/connect/account-abstraction/AccountAbstractionPage.tsx
+++ b/apps/dashboard/src/app/team/[team_slug]/[project_slug]/connect/account-abstraction/AccountAbstractionPage.tsx
@@ -2,7 +2,6 @@
import { Alert, AlertDescription, AlertTitle } from "@/components/ui/alert";
import { TrackedLinkTW } from "@/components/ui/tracked-link";
import {
- type Account,
type ApiKeyService,
accountStatus,
} from "@3rdweb-sdk/react/hooks/useApi";
@@ -25,7 +24,6 @@ export function AccountAbstractionPage(props: {
apiKeyServices: ApiKeyService[];
billingStatus: "validPayment" | (string & {}) | null;
tab?: string;
- twAccount: Account;
}) {
const { apiKeyServices } = props;
@@ -81,11 +79,9 @@ export function AccountAbstractionPage(props: {
diff --git a/apps/dashboard/src/app/team/[team_slug]/[project_slug]/connect/account-abstraction/page.tsx b/apps/dashboard/src/app/team/[team_slug]/[project_slug]/connect/account-abstraction/page.tsx
index 0550876f974..86f3c8fe4ed 100644
--- a/apps/dashboard/src/app/team/[team_slug]/[project_slug]/connect/account-abstraction/page.tsx
+++ b/apps/dashboard/src/app/team/[team_slug]/[project_slug]/connect/account-abstraction/page.tsx
@@ -4,7 +4,6 @@ import { ChakraProviderSetup } from "@/components/ChakraProviderSetup";
import type { Metadata } from "next";
import { notFound, redirect } from "next/navigation";
import { getAbsoluteUrl } from "../../../../../../lib/vercel-utils";
-import { getValidAccount } from "../../../../../account/settings/getAccount";
import { getAPIKeyForProjectId } from "../../../../../api/lib/getAPIKeys";
import { AccountAbstractionPage } from "./AccountAbstractionPage";
@@ -14,10 +13,7 @@ export default async function Page(props: {
}) {
const { team_slug, project_slug } = await props.params;
- const [account, team, project] = await Promise.all([
- getValidAccount(
- `/${team_slug}/${project_slug}/connect/account-abstraction`,
- ),
+ const [team, project] = await Promise.all([
getTeamBySlug(team_slug),
getProject(team_slug, project_slug),
]);
@@ -45,7 +41,6 @@ export default async function Page(props: {
projectKey={project.publishableKey}
apiKeyServices={apiKey.services || []}
tab={(await props.searchParams).tab}
- twAccount={account}
/>
);
diff --git a/apps/dashboard/src/app/team/[team_slug]/[project_slug]/connect/in-app-wallets/config/loading.tsx b/apps/dashboard/src/app/team/[team_slug]/[project_slug]/connect/in-app-wallets/config/loading.tsx
deleted file mode 100644
index 6c54ef15def..00000000000
--- a/apps/dashboard/src/app/team/[team_slug]/[project_slug]/connect/in-app-wallets/config/loading.tsx
+++ /dev/null
@@ -1,3 +0,0 @@
-"use client";
-
-export { GenericLoadingPage as default } from "@/components/blocks/skeletons/GenericLoadingPage";
diff --git a/apps/dashboard/src/app/team/[team_slug]/[project_slug]/connect/in-app-wallets/config/page.tsx b/apps/dashboard/src/app/team/[team_slug]/[project_slug]/connect/in-app-wallets/config/page.tsx
deleted file mode 100644
index 1eaf77e9e90..00000000000
--- a/apps/dashboard/src/app/team/[team_slug]/[project_slug]/connect/in-app-wallets/config/page.tsx
+++ /dev/null
@@ -1,38 +0,0 @@
-import { getProject } from "@/api/projects";
-import { getAPIKeyForProjectId } from "app/api/lib/getAPIKeys";
-import { notFound, redirect } from "next/navigation";
-import { InAppWalletSettingsPage } from "../../../../../../../components/embedded-wallets/Configure";
-import { getValidAccount } from "../../../../../../account/settings/getAccount";
-import { TRACKING_CATEGORY } from "../_constants";
-
-export default async function Page(props: {
- params: Promise<{ team_slug: string; project_slug: string }>;
-}) {
- const params = await props.params;
- const [account, project] = await Promise.all([
- getValidAccount(
- `/${params.team_slug}/${params.project_slug}/connect/in-app-wallets/config`,
- ),
- getProject(params.team_slug, params.project_slug),
- ]);
-
- if (!project) {
- redirect("/team");
- }
-
- const apiKey = await getAPIKeyForProjectId(project.id);
-
- if (!apiKey) {
- notFound();
- }
-
- return (
- <>
-
- >
- );
-}
diff --git a/apps/dashboard/src/app/team/[team_slug]/[project_slug]/connect/in-app-wallets/layout.tsx b/apps/dashboard/src/app/team/[team_slug]/[project_slug]/connect/in-app-wallets/layout.tsx
index 3dc051d0fcb..f3b8564326d 100644
--- a/apps/dashboard/src/app/team/[team_slug]/[project_slug]/connect/in-app-wallets/layout.tsx
+++ b/apps/dashboard/src/app/team/[team_slug]/[project_slug]/connect/in-app-wallets/layout.tsx
@@ -45,11 +45,6 @@ export default async function Layout(props: {
path: `/team/${team_slug}/${project_slug}/connect/in-app-wallets/users`,
exactMatch: true,
},
- {
- name: "Configuration",
- path: `/team/${team_slug}/${project_slug}/connect/in-app-wallets/config`,
- exactMatch: true,
- },
]}
/>
diff --git a/apps/dashboard/src/components/smart-wallets/index.tsx b/apps/dashboard/src/components/smart-wallets/index.tsx
index ff9d320db94..e7582a1ceb5 100644
--- a/apps/dashboard/src/components/smart-wallets/index.tsx
+++ b/apps/dashboard/src/components/smart-wallets/index.tsx
@@ -1,32 +1,23 @@
"use client";
import { TabLinks } from "@/components/ui/tabs";
-import {
- type Account,
- type ApiKeyService,
- useUserOpUsageAggregate,
-} from "@3rdweb-sdk/react/hooks/useApi";
+import { useUserOpUsageAggregate } from "@3rdweb-sdk/react/hooks/useApi";
import { AccountAbstractionAnalytics } from "./AccountAbstractionAnalytics";
import { AccountAbstractionSummary } from "./AccountAbstractionAnalytics/AccountAbstractionSummary";
import { AccountFactories } from "./AccountFactories";
-import { AccountAbstractionSettingsPage } from "./SponsorshipPolicies";
interface SmartWalletsProps {
- apiKeyServices: ApiKeyService[];
trackingCategory: string;
clientId: string;
smartWalletsLayoutSlug: string;
tab?: string;
- twAccount: Account;
}
export const SmartWallets: React.FC = ({
- apiKeyServices,
trackingCategory,
clientId,
smartWalletsLayoutSlug,
tab = "analytics",
- twAccount,
}) => {
const aggregateUserOpUsageQuery = useUserOpUsageAggregate({
clientId,
@@ -48,12 +39,6 @@ export const SmartWallets: React.FC = ({
isActive: tab === "analytics",
isDisabled: false,
},
- {
- name: "Sponsorship Policies",
- href: `${smartWalletsLayoutSlug}?tab=config`,
- isActive: tab === "config",
- isDisabled: false,
- },
{
name: "Account Factories",
href: `${smartWalletsLayoutSlug}?tab=factories`,
@@ -72,14 +57,6 @@ export const SmartWallets: React.FC = ({
{tab === "factories" && (
)}
-
- {tab === "config" && (
-
- )}
);
};