Skip to content

Conversation

@divysaxena24
Copy link

Added an onError handler to the Mutation component in ReinstateButton.tsx. Previously, if the reinstate action failed, the user received no feedback. Now, a Toast notification appears with a "Retry" action to improve the user experience and error visibility.

Changes:

Added isErrorDismissed state to
ReinstateButton
.
Implemented onError callback in Apollo .
Rendered component with a retry mechanism.
Used localized error messages via intl

@divysaxena24
Copy link
Author

divysaxena24 commented Jan 20, 2026

Hello OpenCRVS team

I’ve opened a PR for the above issue
The required workflows are awaiting maintainer approval, and the branch is protected, so I’m unable to proceed further.

Could someone please review the PR and approve the workflows when convenient?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant