Download spectrum/src/components/error/BlueScreen.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 514 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/spectrum/src/components/error/BlueScreen.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset@1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/spectrum/src/components/error/BlueScreen.js
-
curl -L -o BlueScreen.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/1e92f2d0b9e054abc23a53595fd89ad3e2b4a34e/spectrum/src/components/error/BlueScreen.js
514 Bytes
| // @flow | |
| // This component is shown as a full replacement for the entire app in production whenever an error happens that would otherwise crash the app | |
| import React from 'react'; | |
| import ViewError from '../viewError'; | |
| const BlueScreen = () => { | |
| return ( | |
| <ViewError | |
| heading={'Something went wrong'} | |
| subheading={ | |
| 'Sorry about the technical issues. Brian and Max have been notified of the problem and should resolve it soon.' | |
| } | |
| refresh | |
| /> | |
| ); | |
| }; | |
| export default BlueScreen; | |