blob: 0f8c576537b4ba88820b60aa2772617d102691db (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
import React from 'react'
import ReactDOM from 'react-dom/client'
import { BrowserRouter } from 'react-router-dom'
import { QueryClient, QueryClientProvider } from 'react-query'
import './index.css'
import App from './App'
import './i18nextInit'
import { Context } from './context/User'
const queryClient = new QueryClient()
const root = ReactDOM.createRoot(document.getElementById('root'))
root.render(
<React.StrictMode>
<BrowserRouter>
<QueryClientProvider client={queryClient}>
<Context>
<App />
</Context>
</QueryClientProvider>
</BrowserRouter>
</React.StrictMode>
)
|