diff --git a/src/components/PromoOffersSection.tsx b/src/components/PromoOffersSection.tsx index a000b20..f47622f 100644 --- a/src/components/PromoOffersSection.tsx +++ b/src/components/PromoOffersSection.tsx @@ -266,7 +266,7 @@ export default function PromoOffersSection({ className = '' }: PromoOffersSectio // Deactivate discount mutation const deactivateMutation = useMutation({ - mutationFn: promoApi.deactivateDiscount, + mutationFn: promoApi.clearActiveDiscount, onSuccess: () => { queryClient.invalidateQueries({ queryKey: ['active-discount'] }); queryClient.invalidateQueries({ queryKey: ['promo-offers'] });