add Cart model + add store fot save all methods

This commit is contained in:
hamid zarghami
2025-12-18 11:58:02 +03:30
parent 510d1718f4
commit ae35774e1f
16 changed files with 347 additions and 107 deletions
@@ -158,3 +158,9 @@ export const useGetCartItems = (enabled = true) => {
enabled,
});
};
export const useSaveAllMethod = () => {
return useMutation({
mutationFn: api.saveAllMethod,
});
};