import { useState } from 'react';

import { AppShell } from '@/components/layout/AppShell';
import { RouteView } from './routes';

export default function App() {
  const [active, setActive] = useState('Dashboard');

  return (
    <AppShell
      active={active}
      onSelect={setActive}
    >
      <RouteView active={active} />
    </AppShell>
  );
}