Delete bill

This commit is contained in:
hamid zarghami
2026-02-17 12:34:54 +03:30
parent 6fdbd27660
commit 242e81ffbf
3 changed files with 35 additions and 6 deletions
+6
View File
@@ -25,3 +25,9 @@ export const useGetBills = (page: number = 1) => {
queryFn: () => api.getBills(page),
});
};
export const useDeleteBill = () => {
return useMutation({
mutationFn: api.deleteBill,
});
};