From 66238c7ccf9bae48b476f84addc296b2fa6727a1 Mon Sep 17 00:00:00 2001 From: Ronald Langeveld Date: Thu, 18 Jan 2024 09:42:46 +0000 Subject: [PATCH] Added default string to href to Offers Portal iFrame (#19514) no issue - potentially fixes a small performance issues to avoid the homepage of your publication from being loaded should an href from Portal not exist when loading Offers, that could cause flashing. --- .../src/components/settings/growth/offers/AddOfferModal.tsx | 2 +- .../src/components/settings/growth/offers/EditOfferModal.tsx | 2 +- 2 files changed, 2 insertions(+), 2 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 3e2b014a65..fb98b8123e 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 @@ -618,7 +618,7 @@ const AddOfferModal = () => { />; const iframe = ; return { diff --git a/apps/admin-x-settings/src/components/settings/growth/offers/EditOfferModal.tsx b/apps/admin-x-settings/src/components/settings/growth/offers/EditOfferModal.tsx index 2efbaad5b3..c02fee6dd7 100644 --- a/apps/admin-x-settings/src/components/settings/growth/offers/EditOfferModal.tsx +++ b/apps/admin-x-settings/src/components/settings/growth/offers/EditOfferModal.tsx @@ -257,7 +257,7 @@ const EditOfferModal: React.FC<{id: string}> = ({id}) => { }, [formState, siteData]); const iframe = ; return offerById ?