feat: fix clouds functions and heygen

This commit is contained in:
2026-09-04 12:22:29 +02:00
parent 7bf913e014
commit efbb7994f2
12 changed files with 276 additions and 75 deletions
+9 -1
View File
@@ -113,10 +113,18 @@ const FullscreenIntroVideo = ({
const load = async () => {
try {
const nextUri = await resolveMediaUri(url)
if (!nextUri) {
if (isMounted) {
setUri(null)
handleClose()
}
return
}
assignUri(nextUri)
} catch {
if (isMounted) {
setUri(null)
handleClose()
}
}
}
@@ -126,7 +134,7 @@ const FullscreenIntroVideo = ({
return () => {
isMounted = false
}
}, [url])
}, [handleClose, url])
useEffect(() => {
if (!visible || !uri) {