add timeout

This commit is contained in:
Hailey
2024-10-10 11:26:41 -07:00
parent 3b44ea203c
commit ff6c9351d7
+5 -3
View File
@@ -39,9 +39,11 @@ export const SplashScreen = ({
const clip = getParams.get('clip') const clip = getParams.get('clip')
if (clip === 'true') { if (clip === 'true') {
setShowClipOverlay(true) setShowClipOverlay(true)
postAppClipMessage({ setTimeout(() => {
action: 'present', postAppClipMessage({
}) action: 'present',
})
}, 1000)
} }
}, []) }, [])