diff --git a/gui/pages/Content/Models/MarketModels.js b/gui/pages/Content/Models/MarketModels.js index 0ffe25ab5..09a717b67 100644 --- a/gui/pages/Content/Models/MarketModels.js +++ b/gui/pages/Content/Models/MarketModels.js @@ -43,35 +43,24 @@ export default function MarketModels(){ useEffect(() => { loadingTextEffect('Loading Models', setLoadingText, 500); setIsLoading(true) - const iframe = document.getElementById('marketplace_models'); - - const handleIframeLoad = () => { - setTimeout(() => { - setIsLoading(false) - }, 2000); - }; - - if (iframe) { - iframe.onload = handleIframeLoad; - } - - return () => { - if (iframe) { - iframe.onload = null; - } - }; + setTimeout(() => { + setIsLoading(false) + }, 2500); }, []); return( -