Spaces:
Running
Running
Download src/index.js from STAR-GROUP/model-test-react: direct link, hf CLI and curl.
- Browser
- Download file 444 Bytes
-
https://huggingface.co/spaces/STAR-GROUP/model-test-react/resolve/main/src/index.js
- Command line
-
hf download hf://spaces/STAR-GROUP/model-test-react/src/index.js
-
curl -L -o index.js https://huggingface.co/spaces/STAR-GROUP/model-test-react/resolve/main/src/index.js
444 Bytes
| import React from "react"; | |
| import { createRoot } from "react-dom/client"; | |
| import App from "./App"; | |
| import "./assets/css/style.css"; // Updated to use consolidated Main.css | |
| import { AuthProvider } from "./context/AuthContext"; | |
| const container = document.getElementById("root"); | |
| const root = createRoot(container); | |
| root.render( | |
| <React.StrictMode> | |
| <AuthProvider> | |
| <App /> | |
| </AuthProvider> | |
| </React.StrictMode>, | |
| ); | |