Spaces:
Running
Running
Download src/index.js from aaronxavier/org-chart: direct link, hf CLI and curl.
- Browser
- Download file 587 Bytes
-
https://huggingface.co/spaces/aaronxavier/org-chart/resolve/main/src/index.js
- Command line
-
hf download hf://spaces/aaronxavier/org-chart/src/index.js
-
curl -L -o index.js https://huggingface.co/spaces/aaronxavier/org-chart/resolve/main/src/index.js
587 Bytes
| import React from 'react'; | |
| import ReactDOM from 'react-dom/client'; | |
| import './index.css'; | |
| import App from './App'; | |
| import * as serviceWorkerRegistration from './serviceWorkerRegistration'; | |
| import 'xlsx'; | |
| const root = ReactDOM.createRoot(document.getElementById('root')); | |
| root.render( | |
| <React.StrictMode> | |
| <App /> | |
| </React.StrictMode> | |
| ); | |
| // If you want your app to work offline and load faster, you can change | |
| // unregister() to register() below. Note this comes with some pitfalls. | |
| // Learn more about service workers: https://cra.link/PWA | |
| serviceWorkerRegistration.unregister(); | |