16 lines
368 B
TypeScript
16 lines
368 B
TypeScript
import { RouterProvider } from 'react-router-dom';
|
|
import router from './router';
|
|
import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
|
|
|
|
const queryClient = new QueryClient();
|
|
|
|
function App() {
|
|
return (
|
|
<QueryClientProvider client={queryClient}>
|
|
<RouterProvider router={router} />
|
|
</QueryClientProvider>
|
|
);
|
|
}
|
|
|
|
export default App;
|