Download next.js/test/e2e/404-page-router/app/pages/error.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 143 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/e2e/404-page-router/app/pages/error.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/test/e2e/404-page-router/app/pages/error.js
-
curl -L -o error.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/e2e/404-page-router/app/pages/error.js
143 Bytes
| export default function Page() { | |
| throw new Error('there was an error') | |
| } | |
| export const getServerSideProps = () => { | |
| return { props: {} } | |
| } | |