Files
firegex-traffic-viewer/frontend/src/index.tsx
2023-06-05 00:57:54 +02:00

20 lines
563 B
TypeScript

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