From 6960025d714dc199d88b09dcbf6bd28068d17b89 Mon Sep 17 00:00:00 2001 From: "[dyad]" Date: Fri, 30 Jan 2026 09:36:28 +0100 Subject: [PATCH] [dyad] Fixed TypeScript error on clip page - wrote 1 file(s) --- src/app/clips/[id]/page.tsx | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/app/clips/[id]/page.tsx b/src/app/clips/[id]/page.tsx index dff124c..b00cfa3 100644 --- a/src/app/clips/[id]/page.tsx +++ b/src/app/clips/[id]/page.tsx @@ -4,13 +4,7 @@ import Link from "next/link"; import { Button } from "@/components/ui/button"; import { ArrowLeft } from "lucide-react"; -type ClipPageProps = { - params: { - id: string; - }; -}; - -export default async function ClipPage({ params }: ClipPageProps) { +export default async function ClipPage({ params }: { params: { id: string } }) { const { data: clip, error } = await supabase .from('clips') .select('storage_path, original_file_name, title')