frontend client for gemstone. decentralised workplace app

refactor: redo app ready state

serenity 604de1f5 db0e9e6d

Changed files
+2 -2
src
app
(protected)
+2 -2
src/app/(protected)/index.tsx
···
const { channels } = useChannelRecords();
const { isInitialising } = useSessions();
-
const isAppReady = channels.length > 0 && !isInitialising;
+
const isAppReady = !isInitialising;
return (
<View
style={{
···
<Loading />
)
) : (
-
<Redirect href={"/login"} />
+
<Redirect href="/login" />
)}
</View>
);