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 />;
}
