import { StrictMode } from 'react';
import { createRoot } from 'react-dom/client';
import { BrowserRouter } from "react-router-dom";

import './index.css';

import "./bootstrap.scss";
import "bootstrap/dist/js/bootstrap.bundle.min.js";

//import '@fullcalendar/core/index.css';
//import '@fullcalendar/daygrid/index.css';
//import '@fullcalendar/timegrid/index.css';
//import '@fullcalendar/list/index.css';

import "./estilos.scss";

import App from './App.tsx';
import {HelmetProvider} from "react-helmet-async";
import {QueryClientProvider} from "@tanstack/react-query";
import {queryClient} from "@/lib/queryClient";


createRoot(document.getElementById('root')!).render(

    <BrowserRouter /* basename="/seu-subpath" se necessário */>
        <HelmetProvider>
            <QueryClientProvider client={queryClient}>
  <StrictMode>
    <App />
  </StrictMode>
            </QueryClientProvider>
        </HelmetProvider>
    </BrowserRouter>

);
