import { StrictMode } from 'react'
import { createRoot } from 'react-dom/client'
import { BrowserRouter } from 'react-router-dom'
import { AuthProvider } from './context/AuthContext'
import { ScannerProvider } from './context/ScannerContext'
import './index.css'
import App from './App.tsx'

createRoot(document.getElementById('root')!).render(
  <StrictMode>
    <BrowserRouter>
      <AuthProvider>
        <ScannerProvider>
          <App />
        </ScannerProvider>
      </AuthProvider>
    </BrowserRouter>
  </StrictMode>,
)

