Spaces:
Running
Running
Download src/main.tsx from Ethscriptions/tz: direct link, hf CLI and curl.
- Browser
- Download file 401 Bytes
-
https://huggingface.co/spaces/Ethscriptions/tz/resolve/main/src/main.tsx
- Command line
-
hf download hf://spaces/Ethscriptions/tz/src/main.tsx
-
curl -L -o main.tsx https://huggingface.co/spaces/Ethscriptions/tz/resolve/main/src/main.tsx
401 Bytes
| 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 }) | |