import React from 'react';
import ReactDOM from 'react-dom/client';

import App from './App';

console.log("Index.tsx: Importing App...");

const rootElement = document.getElementById('root');
if (!rootElement) {
  console.error("Root element not found");
} else {
  const root = ReactDOM.createRoot(rootElement);
  root.render(
    <React.StrictMode>
      <App />
    </React.StrictMode>
  );
  console.log("Index.tsx: Render called");
}