* wip * wip * wip * format * wip(mobile): lint and format * cleanup * nits * nits * idiomatic react * nit * format all root files
12 lines
352 B
TypeScript
12 lines
352 B
TypeScript
import { createRoot } from 'react-dom/client';
|
|
import App from './App';
|
|
import { initSentryRenderer } from '@/lib/sentry';
|
|
import './styles/globals.css';
|
|
|
|
initSentryRenderer();
|
|
|
|
const container = document.getElementById('root');
|
|
if (!container) throw new Error('Root element #root not found');
|
|
const root = createRoot(container);
|
|
root.render(<App />);
|