Skip to content

Conversation

AlinaGoaga
Copy link
Contributor

@AlinaGoaga AlinaGoaga commented Dec 29, 2022

Closes https://app.zenhub.com/workspaces/team-pesto-6127680175876a0014fc5657/issues/gh/weaveworks/weave-gitops-enterprise/1902

Once error boundary kicked in, navigating away from the page had no effect, the user had to refresh the page to get access to the app again.

I've added a wrapper around the class component that we've got from the React docs to allow the use of useEffect which gives us the possibility to remove the error on location change

@AlinaGoaga AlinaGoaga added the bug Something isn't working label Dec 29, 2022
@AlinaGoaga AlinaGoaga requested a review from a team December 29, 2022 10:56
Copy link
Member

@chanwit chanwit left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants