// frontend\src\main.tsx

import { StrictMode } from 'react'
import { createRoot } from 'react-dom/client'
import './index.css'
import App from './App.tsx'
import { ToastProvider } from './components/ui/ToastProvider.tsx'

createRoot(document.getElementById('root')!).render(
  <StrictMode>
    <ToastProvider position="top-right" maxToasts={3} defaultDurationMs={3500}>
      <App />
    </ToastProvider>
  </StrictMode>,
)
