import React from 'react';
import './App.css';
import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
import { BrowserRouter, Route, Routes } from 'react-router-dom';
import PatientForm from './Components/PatientForm/PatientForm';

function App() {
  const queryClient = new QueryClient();
  return (
    <QueryClientProvider client={queryClient}>
        <div className='flex'>
          <BrowserRouter>
          <Routes>
              <Route path='/' element={<PatientForm />}/>
          </Routes>
          </BrowserRouter>
        </div>
    </QueryClientProvider>
  );
}

export default App;
