Repository navigation
Add error boundary page (#81) - #173
Conversation
|
@drathava847-beep is attempting to deploy a commit to the Geetansh Goyal's projects Team on Vercel. A member of the Team first needs to authorize it. |
📸 How this looksBuilt from this PR, so you can see the change without checking it out.
|
nishtha-agarwal-211
left a comment
There was a problem hiding this comment.
Thanks for the PR! The logic and error boundary setup look solid, but please update the styling before merge:
- Missing Tailwind classes: bg-primary, text-primary-foreground, and text-muted-foreground are not configured in this repo, so the retry button and text render completely unstyled.
- Theme alignment: Please match the styling used in app/not-found.tsx (e.g. text-neutral-400 for muted text and the cyan accent styles for the button).
- UX suggestion: Consider adding a secondary link back to Home (/) so users aren't stuck if re-trying fails.
|
I checked out this branch locally and ran the development build ( Overall, the client-side error boundary setup in Question:In Next.js App Router, does |




Fixes #81
Summary
app/error.tsxas a client error boundary.reset().console.errorwithout displaying the raw error message.Testing
npm run lintnpm testnpm run build