import React from "react";
import ReactDOM from "react-dom/client";
import { BrowserRouter } from "react-router-dom";
import { AuthProvider } from "./contexts/AuthContext";
import { UserPropertiesProvider } from "./contexts/UserPropertiesContext";
import App from "./App";
import "./index.css";

ReactDOM.createRoot(document.getElementById("root")).render(
    <React.StrictMode>
        <BrowserRouter>
            <UserPropertiesProvider>
                <AuthProvider>
                    <App />
                </AuthProvider>
            </UserPropertiesProvider>
        </BrowserRouter>
    </React.StrictMode>,
);
