frontend client for gemstone. decentralised workplace app
1import { Invites } from "@/components/Invites";
2import { Loading } from "@/components/primitives/Loading";
3import { useSessions } from "@/providers/authed/SessionsProvider";
4import { View } from "react-native";
5
6const InviteRoute = () => {
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 ? <Invites /> : <Loading />}
19 </View>
20 );
21};
22
23export default InviteRoute;