From 15d74b2840e33195547c5dd929cec585585dfc2b Mon Sep 17 00:00:00 2001 From: Princi Vershwal Date: Thu, 9 Nov 2023 13:30:56 +0530 Subject: [PATCH] Fixed offer Code url --- .../components/settings/membership/offers/EditOfferModal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/admin-x-settings/src/components/settings/membership/offers/EditOfferModal.tsx b/apps/admin-x-settings/src/components/settings/membership/offers/EditOfferModal.tsx index b7c133ce90..8e4a824757 100644 --- a/apps/admin-x-settings/src/components/settings/membership/offers/EditOfferModal.tsx +++ b/apps/admin-x-settings/src/components/settings/membership/offers/EditOfferModal.tsx @@ -19,7 +19,7 @@ const Sidebar: React.FC<{ const {siteData} = useGlobalData(); const [isCopied, setIsCopied] = useState(false); - const offerUrl = `${getHomepageUrl(siteData!)}/#/portal/offers/${offer?.code}`; + const offerUrl = `${getHomepageUrl(siteData!)}${offer?.code}`; const handleCopyClick = async () => { try { await navigator.clipboard.writeText(offerUrl);