import {StrictMode} from 'react';
import {createRoot} from 'react-dom/client';
import App from './App.tsx';
import './index.css';

// Add marker for diagnostics
const marker = document.createElement('div');
marker.id = 'js-loaded-marker';
marker.style.display = 'none';
document.body.appendChild(marker);

const rootElement = document.getElementById('root');
if (rootElement) {
  createRoot(rootElement).render(
    <StrictMode>
      <App />
    </StrictMode>,
  );
}
