"use client"; import { useState } from "react"; import { Button } from "@/components/ui/button"; import { ShotCard } from "@/components/shots/ShotCard"; import { NewShotDialog } from "@/components/shots/NewShotDialog"; import { Film, Plus } from "lucide-react"; import type { ShotWithDetails } from "@/types"; interface ProjectShotsClientProps { projectId: string; shots: ShotWithDetails[]; } export function ProjectShotsClient({ projectId, shots }: ProjectShotsClientProps) { const [showNew, setShowNew] = useState(false); return (

Shots

{shots.length === 0 ? (

No shots yet

) : (
{shots.map((shot) => ( ))}
)} setShowNew(false)} onSuccess={() => setShowNew(false)} />
); }