mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2026-05-24 08:22:10 -04:00
clear timeout
This commit is contained in:
@@ -16,9 +16,10 @@ export default function AppEmbed() {
|
||||
|
||||
// after five minutes kill the live demo
|
||||
useEffect(() => {
|
||||
setTimeout(() => {
|
||||
const timer = setTimeout(() => {
|
||||
setIframeAppReady(false);
|
||||
}, 300000);
|
||||
return () => clearTimeout(timer);
|
||||
}, []);
|
||||
|
||||
useEffect(() => {
|
||||
|
||||
Reference in New Issue
Block a user