Skip to content

Add error boundary around the trade panel to prevent full page crash on unexpected errors #542

Description

@Chucks1093

Summary

An unhandled error inside the trade panel currently crashes the entire page. An error boundary wrapping the panel should catch render errors and show an inline fallback instead of unmounting the full page.

Scope

  • Wrap the trade panel in a React error boundary component
  • Fallback UI should show a short error message and a retry button that resets the boundary
  • The rest of the page (header, creator info, holdings) must remain visible when the panel errors

Acceptance Criteria

  • Error boundary catches render errors inside the trade panel
  • Fallback UI visible in place of the panel on error
  • Retry button resets the boundary and remounts the panel
  • Rest of the page remains mounted and visible

ETA: 12 hours


Coordinate on Telegram

Metadata

Metadata

Assignees

Labels

GrantFox OSSIssue tracked in GrantFox OSSMaybe RewardedIssue may be eligible for a GrantFox rewardOfficial Campaign | FWC26Campaign: Official Campaign | FWC26

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions