File tree Expand file tree Collapse file tree 2 files changed +1
-9
lines changed
app/(dashboard)/explore/[category] Expand file tree Collapse file tree 2 files changed +1
-9
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ import {
11
11
ContractCardSkeleton ,
12
12
} from "components/explore/contract-card" ;
13
13
import { DeployUpsellCard } from "components/explore/upsells/deploy-your-own" ;
14
- import { ALL_CATEGORIES , getCategory } from "data/explore" ;
14
+ import { getCategory } from "data/explore" ;
15
15
import type { Metadata } from "next" ;
16
16
import Link from "next/link" ;
17
17
import { notFound } from "next/navigation" ;
@@ -131,9 +131,3 @@ export default async function ExploreCategoryPage(
131
131
</ div >
132
132
) ;
133
133
}
134
-
135
- export async function generateStaticParams ( ) {
136
- return ALL_CATEGORIES . map ( ( category ) => ( {
137
- params : { category } ,
138
- } ) ) ;
139
- }
Original file line number Diff line number Diff line change @@ -309,5 +309,3 @@ function isExploreCategory(category: string): category is ExploreCategoryName {
309
309
export const EXPLORE_PAGE_DATA = Object . values ( CATEGORIES ) . filter ( ( v ) =>
310
310
"showInExplore" in v ? v . showInExplore !== false : true ,
311
311
) ;
312
-
313
- export const ALL_CATEGORIES = Object . values ( CATEGORIES ) . map ( ( v ) => v . id ) ;
You can’t perform that action at this time.
0 commit comments