diff --git a/apps/landing/src/components/AppEmbed.tsx b/apps/landing/src/components/AppEmbed.tsx index 7da758110..a53a961d2 100644 --- a/apps/landing/src/components/AppEmbed.tsx +++ b/apps/landing/src/components/AppEmbed.tsx @@ -14,6 +14,13 @@ export default function AppEmbed() { } } + // after five minutes kill the live demo + useEffect(() => { + setTimeout(() => { + setIframeAppReady(false); + }, 300000); + }, []); + useEffect(() => { window.addEventListener('message', handleEvent, false); setShowApp(true); @@ -28,21 +35,21 @@ export default function AppEmbed() { }, []); return ( -