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

// 创建根元素
const root = createRoot(
  document.getElementById('root') as HTMLElement
);

// 渲染应用
root.render(
  <StrictMode>
    <App />
  </StrictMode>
); 