import { Stack } from "expo-router"; import { QueryClient, QueryClientProvider } from "react-query"; import Auth from "../components/login"; import useAuthStore from "../stores/useAuthStore"; import Icon from "@expo/vector-icons/Feather"; const queryClient = new QueryClient(); function LogoutButton() { const logout = useAuthStore((state) => state.logout); return ; } export default function Layout() { const { isActive } = useAuthStore(); return ( {isActive ? ( ) : ( )} ); }