import React from 'react';
import ReactDOM from 'react-dom/client';
import { Provider } from 'react-redux';
import { AuthProvider } from '@/contexts/AuthContext';
import { AuthenticatedApp } from '@/pages/Auth';
import { store } from './redux/store';
import './styles/globals.css';
import './styles/base-layout.css';

ReactDOM.createRoot(document.getElementById('root')!).render(
  <React.StrictMode>
    <Provider store={store}>
      <AuthProvider>
        <AuthenticatedApp />
      </AuthProvider>
    </Provider>
  </React.StrictMode>
);

