import { Redirect, Tabs } from 'expo-router'; import { ChartNoAxesCombined, Settings2, Users } from 'lucide-react-native'; import { adminConfigState, hasAuthenticatedAdminSession } from '@/src/store/admin-config'; const { useSnapshot } = require('valtio/react'); export default function TabsLayout() { const config = useSnapshot(adminConfigState); const hasAccount = hasAuthenticatedAdminSession(config); if (!hasAccount) { return ; } return ( , }} /> , }} /> , }} /> ); }