Skip to content

Organization detail page shows a permanently blank screen on fetch failure #10

Description

@presidojay1

The useEffect runs Promise.all([...]).then(...).finally(...) with no .catch. If either request fails (e.g. the org doesn't belong to the user), the rejection is unhandled, org stays null, and the component just returns null, leaving a blank page with no indication anything went wrong.

Suggested fix: Add a .catch handler that sets an error state and renders it, instead of silently leaving the page blank.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions