14 lines
323 B
TypeScript
14 lines
323 B
TypeScript
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 />;
|
|
}
|