Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update Error to use click event handler #445

Merged
merged 1 commit into from
Jan 3, 2025
Merged

Conversation

jordanarldt
Copy link
Collaborator

I noticed NextJS requires Error page to be a client component, so we need to use an onClick handler instead of an href.

Updated Error section to allow a function to be passed in rather than a string.

https://nextjs.org/docs/app/building-your-application/routing/error-handling#using-error-boundaries

Copy link

vercel bot commented Dec 31, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
vibes ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 3, 2025 3:26pm

apps/web/vibes/soul/sections/error/index.tsx Outdated Show resolved Hide resolved
apps/web/vibes/soul/sections/error/index.tsx Outdated Show resolved Hide resolved
apps/web/vibes/soul/sections/error/index.tsx Outdated Show resolved Hide resolved
@jordanarldt jordanarldt merged commit 09b79af into main Jan 3, 2025
4 checks passed
@jordanarldt jordanarldt deleted the ja/fix-error branch January 3, 2025 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants