/**
 * Application entry point.
 */

import { StrictMode } from 'react';
import { createRoot } from 'react-dom/client';

import { App } from './ui/App';
import './styles/index.css';

const container = document.getElementById('root');
if (!container) {
  throw new Error('Root element #root is missing from the page.');
}

createRoot(container).render(
  <StrictMode>
    <App />
  </StrictMode>,
);
