This commit is contained in:
Ren Amamiya
2023-10-06 07:40:50 +07:00
parent cef6b9aca9
commit 1240353e30
20 changed files with 58 additions and 66 deletions

22
src/main.jsx Normal file
View File

@@ -0,0 +1,22 @@
import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
import { createRoot } from 'react-dom/client';
import { NDKProvider } from '@libs/ndk/provider';
import { StorageProvider } from '@libs/storage/provider';
import App from './app';
const queryClient = new QueryClient();
const container = document.getElementById('root');
const root = createRoot(container);
root.render(
<QueryClientProvider client={queryClient}>
<StorageProvider>
<NDKProvider>
<App />
</NDKProvider>
</StorageProvider>
</QueryClientProvider>
);