Skip to content

🐛 Blank Screen Appears When Delegating/Registering dRep with a Wallet Lacking UTXOs #2408

@sentry

Description

@sentry

Release: 1.0.26
Environment: production
Url: https://gov.tools
Sentry Issue: GOVTOOL-FRONTEND-9D

Error details

Error: Objects are not valid as a React child (found: [object Error]). If you meant to render a collection of children, use an array instead.
  at TQ0 (/assets/index-5d49448c.js:38:6476)
  at e0 (/assets/index-5d49448c.js:38:8507)
  at p0 (/assets/index-5d49448c.js:38:9844)
  at w0 (/assets/index-5d49448c.js:38:12257)
  at E9 (/assets/index-5d49448c.js:40:1496)
...
(12 additional frame(s) were not displayed)

Steps to reproduce

  1. Connect a freshly created wallet.
  2. Attempt to delegate any registered dRep from the dRep directory.
  3. Observe the behavior on the screen.

Actual behaviour

  • A blank screen appears when trying to delegate a dRep using a newly created wallet.

Screenshot from 2024-11-25 09-21-59
image

Expected behaviour

  • Instead of a blank screen, a descriptive error message or popup should appear to inform the user.

Metadata

Metadata

Assignees

Labels

🐛 BugSomething isn't working

Type

No type

Projects

Status

Done

Relationships

None yet

Development

No branches or pull requests

Issue actions