diff --git a/src/app/themes/page.tsx b/src/app/themes/page.tsx index 85b17b3..bed1214 100644 --- a/src/app/themes/page.tsx +++ b/src/app/themes/page.tsx @@ -5,21 +5,10 @@ import { Navigation } from "@/components/navigation"; import { getAllThemes, ZenTheme } from "@/lib/themes"; import { GetStaticProps } from "next"; -export const getStaticProps = (async (context) => { - const themes = await getAllThemes(); - return { - props: { - themes, - }, - }; -}) satisfies GetStaticProps<{ - themes: ZenTheme[]; -}> - -export default function ThemesMarketplace({ themes }: {themes:ZenTheme[]}) { +export default async function ThemesMarketplace() { return (
- +