diff --git a/apps/admin-x-settings/src/components/settings/growth/Offers.tsx b/apps/admin-x-settings/src/components/settings/growth/Offers.tsx index 10d1ebeaa0..25ac87063c 100644 --- a/apps/admin-x-settings/src/components/settings/growth/Offers.tsx +++ b/apps/admin-x-settings/src/components/settings/growth/Offers.tsx @@ -48,17 +48,21 @@ const Offers: React.FC<{ keywords: string[] }> = ({keywords}) => { const latestThree = activeOffers.slice(0, 3); - const openModal = () => { + const openOfferListModal = () => { updateRoute('offers/edit'); }; + const openAddModal = () => { + updateRoute('offers/new'); + }; + const goToOfferEdit = (offerId: string) => { updateRoute(`offers/edit/${offerId}`); }; return ( } + customButtons={