Перейти к основному содержимому

useRemoveAssetComponent

@mineflow/client-react


@mineflow/client-react / EAM / useRemoveAssetComponent

Function: useRemoveAssetComponent()

function useRemoveAssetComponent(assetId: string): UseMutationResult<undefined, Error, {
componentId: string;
}>;

Defined in: client-react/src/domain-hooks/eam.ts:679

Удаление узла (DELETE, 204 No Content). На успехе инвалидирует список узлов.

Parameters​

ParameterType
assetIdstring

Returns​

UseMutationResult<undefined, Error, { componentId: string; }>

UseMutationResult — mutate({ componentId }).