import { RouterProvider } from 'react-router';
import './App.css';
import { router } from './router/routes.tsx';
import { StoreProvider } from '../providers/store.tsx';
import CssBaseline from '@mui/material/CssBaseline';
import { AppTheme } from '../shared/theme/theme.tsx';

function App() {
  return (
    <StoreProvider>
      <AppTheme>
        <CssBaseline enableColorScheme />
        <RouterProvider router={router} />
      </AppTheme>
    </StoreProvider>
  );
}

export default App;
