mirror of
https://github.com/jeffvli/feishin.git
synced 2026-06-17 17:04:16 +02:00
add initial files
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
import { createRoot } from 'react-dom/client';
|
||||
import { I18nextProvider } from 'react-i18next';
|
||||
import { QueryClientProvider } from 'react-query';
|
||||
import i18n from 'i18n/i18n';
|
||||
import { App } from './app';
|
||||
import { queryClient } from './lib';
|
||||
|
||||
const container = document.getElementById('root')!;
|
||||
const root = createRoot(container);
|
||||
|
||||
root.render(
|
||||
<I18nextProvider i18n={i18n}>
|
||||
<QueryClientProvider client={queryClient}>
|
||||
<App />
|
||||
</QueryClientProvider>
|
||||
</I18nextProvider>
|
||||
);
|
||||
Reference in New Issue
Block a user