import { createRoot } from 'react-dom/client';
import App from '@/App';
import { initSentryRenderer } from '@/lib/sentry';
import '@/stores/theme-store';
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 />);
