forked from cockroachdb/cockroach
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ui: prevent statement/transaction page from sending infinite API
requests when the API requests fails Previously, Statement Page and Transaction Page issues API requests in conmponentDidUpdate() React lifecycle hook. However, when the backend API returns an error, this lifecycle hook is constantly triggered which resulted in infinite loop. This crashes the entire frontend application. This commit removes API calls from within the componentDidUpdate() hooks. Resolves cockroachdb#68602 Release note: None
- Loading branch information
Showing
3 changed files
with
1 addition
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters