add timeout

This commit is contained in:
Hailey
2024-10-10 11:26:41 -07:00
parent 3b44ea203c
commit ff6c9351d7
+2
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)
setTimeout(() => {
postAppClipMessage({ postAppClipMessage({
action: 'present', action: 'present',
}) })
}, 1000)
} }
}, []) }, [])