Spaces:
Running
Running
File size: 401 Bytes
da0f0f4 4f7ed0a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | import { StrictMode } from 'react'
import { createRoot } from 'react-dom/client'
import App from './App'
const root = document.getElementById('root')
if (!root) throw new Error('找不到应用根节点')
createRoot(root).render(
<StrictMode>
<App />
</StrictMode>,
)
// Signal the static HTML boot guard only after the real app has been mounted.
Object.assign(window, { __reactOk: true })
|