import { createRoot } from 'react-dom/client';
import {QueryClientProvider, QueryClient} from "@tanstack/react-query";
import {BrowserRouter} from "react-router-dom";
import App from './App';
import './styles/app.css';
import 'react-toastify/dist/ReactToastify.css';

const queryClient = new QueryClient();

createRoot(document.getElementById('root')!).render(
  <QueryClientProvider client={queryClient}>
    <BrowserRouter>
      <App />
    </BrowserRouter>
  </QueryClientProvider>,
);
