Something went wrong. Try again.
Bluesky app fork with some witchin' additions 💫 forked from jollywhoppers.com/witchsky.app
Something went wrong. Try again.
334 B · 17 lines
TSX
at main
123456789101112131415161718import {useEffect} from 'react'import * as SplashScreen from 'expo-splash-screen'
type Props = { isReady: boolean}
export function Splash({isReady, children}: React.PropsWithChildren<Props>) { useEffect(() => { if (isReady) { SplashScreen.hideAsync() } }, [isReady]) if (isReady) { return children }}