From f05bc7d830b9fe8e1f30c7432240baeb84155609 Mon Sep 17 00:00:00 2001 From: "[dyad]" Date: Fri, 30 Jan 2026 09:44:28 +0100 Subject: [PATCH] [dyad] Downgraded packages to fix build error - wrote 2 file(s) --- package.json | 10 +++++----- src/app/clips/[id]/page.tsx | 1 - 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 4490910..878b5cc 100644 --- a/package.json +++ b/package.json @@ -47,11 +47,11 @@ "embla-carousel-react": "^8.6.0", "input-otp": "^1.4.2", "lucide-react": "^0.511.0", - "next": "15.3.8", + "next": "14.2.3", "next-themes": "^0.4.6", - "react": "^19.2.1", + "react": "^18.2.0", "react-day-picker": "^8.10.1", - "react-dom": "^19.2.1", + "react-dom": "^18.2.0", "react-hook-form": "^7.56.4", "react-resizable-panels": "^3.0.2", "recharts": "^2.15.3", @@ -64,8 +64,8 @@ "devDependencies": { "@dyad-sh/nextjs-webpack-component-tagger": "^0.8.0", "@types/node": "^20", - "@types/react": "^19", - "@types/react-dom": "^19", + "@types/react": "^18.2.0", + "@types/react-dom": "^18.2.0", "postcss": "^8", "tailwindcss": "^3.4.1", "typescript": "^5" diff --git a/src/app/clips/[id]/page.tsx b/src/app/clips/[id]/page.tsx index 5f52068..d9200ef 100644 --- a/src/app/clips/[id]/page.tsx +++ b/src/app/clips/[id]/page.tsx @@ -6,7 +6,6 @@ import { ArrowLeft } from "lucide-react"; type ClipPageProps = { params: { id: string }; - searchParams: { [key: string]: string | string[] | undefined }; }; export default async function ClipPage({ params }: ClipPageProps) {