//@ts-nocheck import { ColorScheme, ColorSchemeProvider, MantineProvider } from '@mantine/core'; import { useColorScheme } from '@mantine/hooks'; import { Notifications } from '@mantine/notifications'; import React, { FC, useState } from 'react'; import ReactDOM from 'react-dom/client'; import { eventBus, EventBusContext } from './EventBus'; import { MainLayout } from './MainLayout'; import { useAppTheme } from './theme'; const AppMain: FC = () => { const preferredColorScheme = useColorScheme(); const [colorScheme, setColorScheme] = useState(preferredColorScheme); const theme = useAppTheme(); return ( ); }; ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render();