Download src/main.tsx from VTechAI/ChatUI: direct link, hf CLI and curl.
- Browser
- Download file 464 Bytes
-
https://huggingface.co/spaces/VTechAI/ChatUI/resolve/main/src/main.tsx
- Command line
-
hf download hf://spaces/VTechAI/ChatUI/src/main.tsx
-
curl -L -o main.tsx https://huggingface.co/spaces/VTechAI/ChatUI/resolve/main/src/main.tsx
464 Bytes
| import React from 'react'; | |
| import ReactDOM from 'react-dom/client'; | |
| import App from './App'; | |
| import { BrowserRouter } from 'react-router-dom'; | |
| import { Provider } from 'react-redux'; | |
| import store from './store'; | |
| import './index.css'; | |
| ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render( | |
| <React.StrictMode> | |
| <BrowserRouter> | |
| <Provider store={store}> | |
| <App /> | |
| </Provider> | |
| </BrowserRouter> | |
| </React.StrictMode>, | |
| ); | |