Skip to main content

useDeleteSummary

@fovea/annotation-tool


@fovea/annotation-tool / hooks/useSummaries / useDeleteSummary

Function: useDeleteSummary()

useDeleteSummary(options?): UseMutationResult<void, ApiError, { personaId: string; videoId: string; }, unknown>

Defined in: src/hooks/useSummaries.ts:157

Mutation hook for deleting a summary. Removes the summary from cache on success.

Parameters

options?

UseMutationOptions<void, ApiError, { personaId: string; videoId: string; }, unknown>

TanStack Mutation options

Returns

UseMutationResult<void, ApiError, { personaId: string; videoId: string; }, unknown>

Mutation result with delete function