diff --git a/apps/web/src/pages/duplication/hooks/useDuplicationResults.ts b/apps/web/src/pages/duplication/hooks/useDuplicationResults.ts index bfa10bf50..23118fe15 100644 --- a/apps/web/src/pages/duplication/hooks/useDuplicationResults.ts +++ b/apps/web/src/pages/duplication/hooks/useDuplicationResults.ts @@ -17,9 +17,9 @@ interface UseDuplicationResultsReturn { riskFilter: RiskFilter setRiskFilter: (filter: RiskFilter) => void toast: ToastState | null - handleDelete: (id: string | number) => void - handleRetry: (id: string | number) => void - handleView: (id: string | number) => void + handleDelete: (id: string) => void + handleRetry: (id: string) => void + handleView: (id: string) => void handleUpload: () => void } @@ -73,15 +73,15 @@ const useDuplicationResults = (): UseDuplicationResultsReturn => { }) }, [records, riskFilter]) - const handleDelete = (id: string | number) => { + const handleDelete = (id: string) => { deleteMutation.mutate(id) } - const handleRetry = (id: string | number) => { + const handleRetry = (id: string) => { retryMutation.mutate(id) } - const handleView = (id: string | number) => { + const handleView = (id: string) => { navigate(`/duplication/${id}`) }