mirror of
https://github.com/antebudimir/feishin.git
synced 2026-01-01 02:13:33 +00:00
13 lines
390 B
TypeScript
13 lines
390 B
TypeScript
import { QueryClientProvider } from '@tanstack/react-query';
|
|
import { createRoot } from 'react-dom/client';
|
|
import { App } from './app';
|
|
import { queryClient } from './lib/react-query';
|
|
|
|
const container = document.getElementById('root')! as HTMLElement;
|
|
const root = createRoot(container);
|
|
|
|
root.render(
|
|
<QueryClientProvider client={queryClient}>
|
|
<App />
|
|
</QueryClientProvider>,
|
|
);
|