mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-08 21:10:12 +02:00
20 lines
610 B
TypeScript
20 lines
610 B
TypeScript
import { Notifications } from '@mantine/notifications';
|
|
import { QueryClientProvider } from '@tanstack/react-query';
|
|
import { createRoot } from 'react-dom/client';
|
|
import { App } from './app';
|
|
import { queryClient } from './lib/react-query';
|
|
import 'overlayscrollbars/overlayscrollbars.css';
|
|
|
|
const container = document.getElementById('root')! as HTMLElement;
|
|
const root = createRoot(container);
|
|
|
|
root.render(
|
|
<QueryClientProvider client={queryClient}>
|
|
<Notifications
|
|
containerWidth="300px"
|
|
position="bottom-center"
|
|
/>
|
|
<App />
|
|
</QueryClientProvider>,
|
|
);
|