safe-react
safe-react copied to clipboard
Render individual transactions in Error Boundaries
Overview
We should render each individual transaction in an error boundary, so as to not crash the Safe if one has a render issue.
Although it appears as though all transaction parameters are recursively handled, we cannot be sure about ever possible combination. Here is an example of one that slipped through the net (that we subsequently fixed).
Fallback
If tx fails to render, display it's nonce and an error message "Failed to render transaction".
Requirements
- Render each individual transaction in it's own Error Boundary