[dyad] Fixed TypeScript error on clip page - wrote 1 file(s)
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user