* replace next with vite
* disable strictmode (it interferes with collaboration in dev mode)
This commit is contained in:
Philipinho
2023-10-20 17:12:08 +01:00
parent a86991e3d7
commit 9b682c8af5
96 changed files with 645 additions and 505 deletions
+29
View File
@@ -0,0 +1,29 @@
import '@mantine/core/styles.css';
import '@mantine/spotlight/styles.css';
import '@mantine/tiptap/styles.css';
import React from 'react';
import ReactDOM from 'react-dom/client';
import App from './App.tsx';
import { theme } from '@/theme';
import { MantineProvider } from '@mantine/core';
import { TanstackProvider } from '@/components/providers/tanstack-provider';
import CustomToaster from '@/components/ui/custom-toaster';
import { BrowserRouter } from 'react-router-dom';
const root = ReactDOM.createRoot(document.getElementById('root') as HTMLElement);
root.render(
<BrowserRouter>
<MantineProvider theme={theme}>
<TanstackProvider>
<App />
<CustomToaster />
</TanstackProvider>
</MantineProvider>
</BrowserRouter>,
);