Skip to content

Commit

Permalink
remove redundant comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Dosant committed Apr 21, 2020
1 parent bb7f7d3 commit 8c4e836
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ export class CollectConfigContainer extends React.Component<
config.dashboardId
);

if (!this.isMounted) return; // bailout if response is no longer needed
if (!this.isMounted) return;

// handle case when destination dashboard is no longer exist
if (savedObject.error?.statusCode === 404) {
Expand All @@ -134,7 +134,6 @@ export class CollectConfigContainer extends React.Component<
return;
}

// any other error
if (savedObject.error) {
this.setState({
error: savedObject.error.message,
Expand Down

0 comments on commit 8c4e836

Please sign in to comment.