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