edufocus/frontend/src/main.jsx

16 lines
458 B
React
Raw Normal View History

2024-07-12 16:22:41 +09:00
import ReactDOM from 'react-dom/client';
import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
import { RouterProvider } from 'react-router-dom';
import router from './Router';
import './index.css';
const queryClient = new QueryClient({
defaultOptions: {},
});
2024-07-12 09:55:30 +09:00
ReactDOM.createRoot(document.getElementById('root')).render(
2024-08-01 17:09:35 +09:00
<QueryClientProvider client={queryClient}>
<RouterProvider router={router} />
</QueryClientProvider>
2024-07-12 16:22:41 +09:00
);