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 {
1111 ContractCardSkeleton ,
1212} from "components/explore/contract-card" ;
1313import { DeployUpsellCard } from "components/explore/upsells/deploy-your-own" ;
14- import { ALL_CATEGORIES , getCategory } from "data/explore" ;
14+ import { getCategory } from "data/explore" ;
1515import type { Metadata } from "next" ;
1616import Link from "next/link" ;
1717import { 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- }
Original file line number Diff line number Diff line change @@ -309,5 +309,3 @@ function isExploreCategory(category: string): category is ExploreCategoryName {
309309export const EXPLORE_PAGE_DATA = Object . values ( CATEGORIES ) . filter ( ( v ) =>
310310 "showInExplore" in v ? v . showInExplore !== false : true ,
311311) ;
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