import { Center } from "@astryxdesign/core/Center"; import { Text } from "@astryxdesign/core/Text"; import StatusPage from "./pages/StatusPage.tsx"; import LoginPage from "./pages/LoginPage.tsx"; import { useSession } from "./session.tsx"; export default function App() { const { state } = useSession(); if (state === "unknown") { return (
Loading…
); } // Fresh installs set up through the Vue dashboard until v2 grows a // setup page. if (state === "setup") { return (
Complete initial setup before signing in.
); } if (state === "guest") return ; return ; }