import { useEffect } from "react"; import { useAppStore } from "@/stores/app-store"; import { AppShell } from "@/components/layout/AppShell"; export default function App() { const initialized = useAppStore((s) => s.initialized); const init = useAppStore((s) => s.init); const view = useAppStore((s) => s.view); useEffect(() => { init(); }, [init]); if (!initialized) { return (