diff --git a/apps/dashboard/src/app/(dashboard)/explore/[category]/page.tsx b/apps/dashboard/src/app/(dashboard)/explore/[category]/page.tsx index f5fa3dc9673..97a27b5d640 100644 --- a/apps/dashboard/src/app/(dashboard)/explore/[category]/page.tsx +++ b/apps/dashboard/src/app/(dashboard)/explore/[category]/page.tsx @@ -11,7 +11,7 @@ import { ContractCardSkeleton, } from "components/explore/contract-card"; import { DeployUpsellCard } from "components/explore/upsells/deploy-your-own"; -import { ALL_CATEGORIES, getCategory } from "data/explore"; +import { getCategory } from "data/explore"; import type { Metadata } from "next"; import Link from "next/link"; import { notFound } from "next/navigation"; @@ -131,9 +131,3 @@ export default async function ExploreCategoryPage( ); } - -export async function generateStaticParams() { - return ALL_CATEGORIES.map((category) => ({ - params: { category }, - })); -} diff --git a/apps/dashboard/src/data/explore.ts b/apps/dashboard/src/data/explore.ts index b0261b4034d..731bd453120 100644 --- a/apps/dashboard/src/data/explore.ts +++ b/apps/dashboard/src/data/explore.ts @@ -309,5 +309,3 @@ function isExploreCategory(category: string): category is ExploreCategoryName { export const EXPLORE_PAGE_DATA = Object.values(CATEGORIES).filter((v) => "showInExplore" in v ? v.showInExplore !== false : true, ); - -export const ALL_CATEGORIES = Object.values(CATEGORIES).map((v) => v.id);