Spaces:
Runtime error
Runtime error
v26: complete website — Projects live, Sentinel live topology, 4 new components, CF Worker updated, api.js complete
37f231b Download website/src/components/ErrorBanner.jsx from ghostdrive1/ultron1: direct link, hf CLI and curl.
- Browser
- Download file 280 Bytes
-
https://huggingface.co/spaces/ghostdrive1/ultron1/resolve/main/website/src/components/ErrorBanner.jsx
- Command line
-
hf download hf://spaces/ghostdrive1/ultron1/website/src/components/ErrorBanner.jsx
-
curl -L -o ErrorBanner.jsx https://huggingface.co/spaces/ghostdrive1/ultron1/resolve/main/website/src/components/ErrorBanner.jsx
280 Bytes
| // website/src/components/ErrorBanner.jsx | |
| export default function ErrorBanner({ message }) { | |
| if (!message) return null; | |
| return ( | |
| <div className="border border-red-200 bg-red-50 text-status-red text-xs px-4 py-3 rounded-lg font-mono"> | |
| ✗ {message} | |
| </div> | |
| ); | |
| } | |