From 03fd494e8401606a256c021d5fca54e6eb1d3dd6 Mon Sep 17 00:00:00 2001 From: Sodbileg Gansukh Date: Tue, 12 Dec 2023 22:57:55 +0700 Subject: [PATCH] Hide copy link feature when there's no offer code (#19335) fixes PROD-253 --- .../src/components/settings/growth/offers/AddOfferModal.tsx | 6 +++--- .../components/settings/growth/offers/EditOfferModal.tsx | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/admin-x-settings/src/components/settings/growth/offers/AddOfferModal.tsx b/apps/admin-x-settings/src/components/settings/growth/offers/AddOfferModal.tsx index e42ef0cbb5..b29560e085 100644 --- a/apps/admin-x-settings/src/components/settings/growth/offers/AddOfferModal.tsx +++ b/apps/admin-x-settings/src/components/settings/growth/offers/AddOfferModal.tsx @@ -298,14 +298,14 @@ const Sidebar: React.FC = ({tierOptions, }} onChange={(e) => { handleTrialAmountInput(e); - }} + }} onKeyDown={() => clearError('amount')}/> - + }
{homepageUrl}{overrides.code.value}