trash attribute value

This commit is contained in:
hamid zarghami
2026-01-25 12:07:46 +03:30
parent 375ea9d669
commit 7e5184529e
3 changed files with 33 additions and 1 deletions
@@ -180,3 +180,9 @@ export const useGetAttributeValueDetail = (id: number, enabled: boolean) => {
enabled: !!id && enabled,
});
};
export const useDeleteAttributeValue = () => {
return useMutation({
mutationFn: (id: number) => api.deleteAttributeValue(id),
});
};