import React from 'react'; import { createRoot } from 'react-dom/client'; import App from './App'; import { AuthProvider } from './contexts/AuthContext'; const container = document.getElementById('root'); if (!container) { throw new Error('Root container #root not found'); } createRoot(container).render( , );