import React from 'react'
import ReactDOM from 'react-dom/client'
import { HashRouter } from 'react-router-dom'
import App from './App'
import './index.css'

// 渲染应用
const root = document.getElementById('root')
try {
  ReactDOM.createRoot(root).render(
    <React.StrictMode>
      <HashRouter>
        <App />
      </HashRouter>
    </React.StrictMode>
  )
  console.log('App rendered successfully')
} catch (e) {
  console.error('Render error:', e)
  root.innerHTML = '<div style="color:red;padding:20px;background:#fff;">Error: ' + e.message + '</div>'
}
// v2.7.2 build
// Force rebuild v2.7.2 - 1773392274
