Initial scaffold: React+TS+Vite frontend, FastAPI backend, config system
This commit is contained in:
13
frontend/src/App.tsx
Normal file
13
frontend/src/App.tsx
Normal file
@@ -0,0 +1,13 @@
|
||||
import { useEffect } from 'react';
|
||||
import { useConfigStore } from '@/stores/configStore';
|
||||
import { AppShell } from '@/components/layout/AppShell';
|
||||
|
||||
export default function App() {
|
||||
const loadConfig = useConfigStore((s) => s.loadConfig);
|
||||
|
||||
useEffect(() => {
|
||||
loadConfig();
|
||||
}, [loadConfig]);
|
||||
|
||||
return <AppShell />;
|
||||
}
|
||||
Reference in New Issue
Block a user