diff --git a/apps/admin-x-settings/src/components/settings/membership/portal/PortalFrame.tsx b/apps/admin-x-settings/src/components/settings/membership/portal/PortalFrame.tsx index 9af587ad54..bdc9a47147 100644 --- a/apps/admin-x-settings/src/components/settings/membership/portal/PortalFrame.tsx +++ b/apps/admin-x-settings/src/components/settings/membership/portal/PortalFrame.tsx @@ -18,7 +18,6 @@ const PortalFrame: React.FC = ({href, onDestroyed, selectedTab const makeVisible = useCallback(() => { setTimeout(() => { if (iframeRef.current) { - setHasLoaded(true); setIsInvisible(false); } }, 500); @@ -51,16 +50,22 @@ const PortalFrame: React.FC = ({href, onDestroyed, selectedTab } return ( - <>{!hasLoaded && isInvisible &&
} + <> + {isInvisible && ( +
+ +
+ ) }