Open this example in the interactive library
Source code
"use client";
// app/studio/error.tsx
import Link from "next/link";
export default function RecoveryNavigationChoices({ reset }: { reset: () => void }) {
return (
<nav aria-label="Recovery">
<button onClick={reset}>Try this page again</button>{" "}
<Link href="/">Return home</Link>
</nav>
);
}
