frontend client for gemstone. decentralised workplace app
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat: basic default route

serenity 45306a66 4ae9eab1

+23
+23
src/app/(protected)/debug/index.tsx
··· 1 + import { useDebugState } from "@/providers/DebugProvider"; 2 + import { Link } from "expo-router"; 3 + import { Button, Text, View } from "react-native"; 4 + 5 + export const DebugRoute = () => { 6 + const debug = useDebugState(); 7 + const { showStackHeader, setShowStackHeader } = debug; 8 + return ( 9 + <View> 10 + <Link href="/login">Back to login</Link> 11 + <Link href="/">Back home</Link> 12 + <Button 13 + title="Show headers?" 14 + onPress={() => { 15 + setShowStackHeader(!showStackHeader); 16 + }} 17 + /> 18 + <Text>Current value: {showStackHeader.toString()}</Text> 19 + </View> 20 + ); 21 + }; 22 + 23 + export default DebugRoute;