Skip to content

Add custom error screen#25

Merged
stylessh merged 1 commit intomainfrom
stylessh/custom-error-screen
Apr 8, 2026
Merged

Add custom error screen#25
stylessh merged 1 commit intomainfrom
stylessh/custom-error-screen

Conversation

@stylessh
Copy link
Copy Markdown
Owner

@stylessh stylessh commented Apr 8, 2026

Summary

  • Add a custom error screen component that matches the dashboard design system (centered layout, destructive icon, retry button)
  • Wire it into both __root and _protected routes as errorComponent
  • Replace the default unstyled TanStack error boundary

Test plan

  • Trigger an error (e.g. throw in a loader) and verify the custom screen renders
  • Verify "Try again" button resets the error and re-fetches
  • Check dark mode appearance

@stylessh stylessh merged commit b207bf0 into main Apr 8, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant