diff --git a/package.json b/package.json index eb2b7bd..ce846ce 100644 --- a/package.json +++ b/package.json @@ -36,7 +36,6 @@ "react-markdown": "^9.0.1", "react-spring": "^9.7.4", "styled-components": "^6.1.12", - "sync-fetch": "^0.5.2", "tailwind-merge": "^2.5.1", "tailwindcss-animate": "^1.0.7", "zod": "^3.23.8" diff --git a/src/app/themes/[theme]/page.tsx b/src/app/themes/[theme]/page.tsx index 2487886..bb2d5c2 100644 --- a/src/app/themes/[theme]/page.tsx +++ b/src/app/themes/[theme]/page.tsx @@ -5,11 +5,11 @@ import ThemePage from "@/components/theme-page"; import { getThemeFromId } from "@/lib/themes"; import { useParams } from "next/navigation"; -export default function ThemeInfoPage() { +export default async function ThemeInfoPage() { const params = useParams<{ theme: string }>(); const { theme: themeID } = params; - const theme = getThemeFromId(themeID); + const theme = await getThemeFromId(themeID); if (!theme) { return
You need to have Zen Browser installed to install this theme. Download now!