import React from "react";
import ReactDOM from "react-dom/client";
import { BrowserRouter } from "react-router-dom";
import App from "./App.jsx";
//import { AuthProvider } from "./context/AuthContext.jsx";
import "./styles/global.css";
import './index.css'; // o './styles/tailwind.css'
import { AuthProvider } from "./context/AuthContext.jsx";
import { LangProvider } from "./context/LenguageContext.jsx";


ReactDOM.createRoot(document.getElementById("root")).render(
    <LangProvider>
        <AuthProvider>
            <BrowserRouter>
                <App />
            </BrowserRouter>
        </AuthProvider>
    </LangProvider>

);