IntersectMBO / IntersectMBO/govtool

🐛 Bug: DRep Details Page Produces Blank Screen with Console Error

Open
#3,733 1 comment 0 reactions 1 assignee Claimed by @Ciabas View on GitHub
♟️ Delegation Pillar 🐛 Bug
Dominant language
HTML
Stars
21
Forks
29
Avg merge
2d 22h
Merged PRs (30d)
7

Description

### Area

Delegation Pillar

### Domain

gov.tools

### Which wallet were you using?

_No response_

### Context

Attempting to access the details page of a specific DRep causes a blank screen and triggers a console error. The issue may be tied to malformed or unexpected metadata for that DRep. Other DRep detail pages appear to function normally.

Example affected DRep:
[Peter_Horsfall - https://gov.tools/connected/drep_directory/drep160v90f47eeqscq9aglzh8qxv8plskgxjtj9qgplgsz0kwskskjs](https://gov.tools/connected/drep_directory/drep160v90f47eeqscq9aglzh8qxv8plskgxjtj9qgplgsz0kwskskjs)

### Steps to reproduce

1. Open the GovTool app and navigate to the DRep Directory
2. Visit the DRep detail page at the provided link
3. Observe the screen and console output

## Notes
- The issue appears specific to certain DReps (likely metadata-related)
- Other DRep pages open without issue, indicating it is not a global failure
- Further investigation is needed to determine scope and root cause

### Actual behavior

- The page remains blank
- Console logs the following error:
`Uncaught TypeError: e.trim is not a function`

### Expected behavior

- DRep details should render correctly
- No console errors should occur
- Metadata (even if malformed) should not break the UI

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.