The best way to control Claude Code, Codex and more from any computer or phone

main
tsx 21 lines 748 Bytes
Raw
1 import { useNavigation } from "@react-navigation/native";
2 import { useGT } from "gt-react-native";
3 import { View } from "react-native";
4 import { EmptyState } from "../../../components/ui/EmptyState";
5 import { openSettings } from "../../settings/settings-navigation";
6
7 export function WorkspaceNoTabs() {
8 const gt = useGT();
9 const navigation = useNavigation();
10 return (
11 <View className="flex-1 items-center justify-center bg-screen">
12 <EmptyState
13 title={gt("All sections are hidden")}
14 detail={gt("Show a section to add it back to navigation.")}
15 actionLabel={gt("Edit navigation tabs")}
16 variant="plain"
17 onAction={() => openSettings(navigation, "SettingsNavigation")}
18 />
19 </View>
20 );
21 }