diff --git a/src/components/pages/production/recording/RecordingTable.tsx b/src/components/pages/production/recording/RecordingTable.tsx index d0b3bce9..833f8500 100644 --- a/src/components/pages/production/recording/RecordingTable.tsx +++ b/src/components/pages/production/recording/RecordingTable.tsx @@ -18,14 +18,7 @@ import RowDropdownOptions from '@/components/table/RowDropdownOptions'; import RowCollapseOptions from '@/components/table/RowCollapseOptions'; import { type CellContext } from '@tanstack/react-table'; import { type Recording } from '@/types/api/production/recording'; -import { type ProjectFlock } from '@/types/api/production/project-flock'; import { RecordingApi } from '@/services/api/production'; -import { type BaseApiResponse } from '@/types/api/api-general'; - -// Extended type that includes related data -type RecordingWithRelations = Recording & { - project_flock?: ProjectFlock; -}; const RowOptionsMenu = ({ type = 'dropdown', @@ -98,11 +91,9 @@ const RecordingTable = () => { const bulkApproveModal = useModal(); const bulkRejectModal = useModal(); - // Fetch recordings using SWR const { data: recordings, isLoading, - mutate: refreshRecordings, } = useSWR( `${RecordingApi.basePath}?page=${page}&limit=${pageSize}`, RecordingApi.getAllFetcher