frontend client for gemstone. decentralised workplace app
at main 581 B view raw
1import { Home } from "@/components/Home"; 2import { Loading } from "@/components/primitives/Loading"; 3import { useSessions } from "@/providers/authed/SessionsProvider"; 4import { View } from "react-native"; 5 6export default function Index() { 7 const { isInitialising } = useSessions(); 8 9 const isAppReady = !isInitialising; 10 return ( 11 <View 12 style={{ 13 flex: 1, 14 justifyContent: "center", 15 alignItems: "stretch", 16 }} 17 > 18 {isAppReady ? <Home /> : <Loading />} 19 </View> 20 ); 21}