Download next.js/test/development/replayed-internal-errors/app/page.tsx from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 340 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/development/replayed-internal-errors/app/page.tsx
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/next.js/test/development/replayed-internal-errors/app/page.tsx
-
curl -L -o page.tsx https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/next.js/test/development/replayed-internal-errors/app/page.tsx
340 Bytes
| import * as React from 'react' | |
| import Link from 'next/link' | |
| /** Add your relevant code here for the issue to reproduce */ | |
| export default function Home() { | |
| return ( | |
| <> | |
| <Link href="/will-redirect">Go to a page that calls redirect()</Link> | |
| <Link href="/will-notfound">Go to a page that calls notFound()</Link> | |
| </> | |
| ) | |
| } | |