diff --git a/components/shots/FootageViewer.tsx b/components/shots/FootageViewer.tsx index 9f1858b..d6adb42 100644 --- a/components/shots/FootageViewer.tsx +++ b/components/shots/FootageViewer.tsx @@ -227,99 +227,3 @@ export function FootageViewer({ shot, canManage, onSaved }: FootageViewerProps) ); } - - -interface FootageViewerProps { - shot: { - id: string; - shotCode: string; - description: string | null; - status: string; - priority: string; - fps: number; - frameStart?: number | null; - frameEnd?: number | null; - dueDate: Date | string | null; - artistId: string | null; - thumbnailUrl: string | null; - originalFootageUrl: string | null; - originalFootageKey: string | null; - }; - canManage: boolean; - artists: { id: string; name: string | null; email: string }[]; - onSaved?: () => void; -} - -export function FootageViewer({ shot, canManage, artists, onSaved }: FootageViewerProps) { - const videoRef = useRef(null); - const [showUpload, setShowUpload] = useState(false); - - if (!shot.originalFootageUrl) { - return ( -
-
- ); - } - - return ( -
-
-

-

- {canManage && ( - - )} -
- - {/* Video player */} -
- -
- - {canManage && showUpload && ( -
- { setShowUpload(false); onSaved?.(); }} - /> -
- )} -
- ); -} diff --git a/components/shots/ShotSettingsTab.tsx b/components/shots/ShotSettingsTab.tsx index e45f928..e388e9d 100644 --- a/components/shots/ShotSettingsTab.tsx +++ b/components/shots/ShotSettingsTab.tsx @@ -1,4 +1,4 @@ -"use client"; +"use client"; import { useState, useRef } from "react"; import Image from "next/image"; @@ -242,7 +242,7 @@ export function ShotSettingsTab({ shot, artists, onSaved }: ShotSettingsTabProps
-