mantine update + passed to vite

This commit is contained in:
Domingo Dirutigliano
2023-06-05 00:55:38 +02:00
parent cef573b537
commit 0430cb3773
37 changed files with 740 additions and 8234 deletions

View File

@@ -4,17 +4,16 @@ import { BrowserRouter } from "react-router-dom"
import './index.scss';
import App from './App';
import { MantineProvider } from '@mantine/core';
import { NotificationsProvider } from '@mantine/notifications';
import { Notifications } from '@mantine/notifications';
const root = ReactDOM.createRoot(
document.getElementById('root') as HTMLElement
);
root.render(
<MantineProvider theme={{ colorScheme: 'dark' }} withGlobalStyles withNormalizeCSS>
<NotificationsProvider>
<BrowserRouter>
<Notifications />
<BrowserRouter>
<App />
</BrowserRouter>
</NotificationsProvider>
</BrowserRouter>
</MantineProvider>
);