import React, { StrictMode } from 'react';
import { createRoot } from 'react-dom/client';
import 'maplibre-gl/dist/maplibre-gl.css';
import 'cesium/Build/Cesium/Widgets/widgets.css';
import './styles.css';
import { App } from './App';

const rootElement = document.getElementById('smart-city-root');
if (!rootElement) {
  throw new Error('Missing root node: #smart-city-root');
}

createRoot(rootElement).render(
  <StrictMode>
    <App />
  </StrictMode>
);
