safe-react icon indicating copy to clipboard operation
safe-react copied to clipboard

Render individual transactions in Error Boundaries

Open iamacook opened this issue 3 years ago • 0 comments

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

iamacook avatar Feb 11 '22 16:02 iamacook