
import React from 'react';
import ReactDOM from 'react-dom/client';
import App from '@/App';
import '@/index.css';
import { SupabaseAuthProvider } from '@/contexts/SupabaseAuthContext';
import { NotificationProvider } from '@/contexts/NotificationContext';
import { BrowserRouter as Router } from 'react-router-dom';

ReactDOM.createRoot(document.getElementById('root')).render(
  <React.StrictMode>
    <Router>
      <SupabaseAuthProvider>
        <NotificationProvider>
          <App />
        </NotificationProvider>
      </SupabaseAuthProvider>
    </Router>
  </React.StrictMode>
);
