Skip to content

Commit f548fae

Browse files
committed
fix category page crash
1 parent d738a90 commit f548fae

File tree

1 file changed

+1
-7
lines changed
  • apps/dashboard/src/app/(dashboard)/explore/[category]

1 file changed

+1
-7
lines changed

apps/dashboard/src/app/(dashboard)/explore/[category]/page.tsx

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import {
1111
ContractCardSkeleton,
1212
} from "components/explore/contract-card";
1313
import { DeployUpsellCard } from "components/explore/upsells/deploy-your-own";
14-
import { ALL_CATEGORIES, getCategory } from "data/explore";
14+
import { getCategory } from "data/explore";
1515
import type { Metadata } from "next";
1616
import Link from "next/link";
1717
import { notFound } from "next/navigation";
@@ -131,9 +131,3 @@ export default async function ExploreCategoryPage(
131131
</div>
132132
);
133133
}
134-
135-
export async function generateStaticParams() {
136-
return ALL_CATEGORIES.map((category) => ({
137-
params: { category },
138-
}));
139-
}

0 commit comments

Comments
 (0)