Skip to content

Commit

Permalink
fix: eslint error
Browse files Browse the repository at this point in the history
  • Loading branch information
shahramk committed Jul 28, 2023
1 parent 926bf59 commit e3b0f3f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions nerdlets/service-details/service-details.js
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ export default class ServiceDetails extends React.PureComponent {
} = this.props;

if (prevProps.timelineItemIndex !== timelineItemIndex) {
// eslint-disable-next-line react/no-did-update-set-state
this.setState({ expandedTimelineItem: timelineItemIndex });
}

Expand All @@ -68,7 +67,6 @@ export default class ServiceDetails extends React.PureComponent {
prevProps.nrqlQuery !== nrqlQuery ||
prevProps.workloadGuid !== workloadGuid
) {
// eslint-disable-next-line react/no-did-update-set-state
this.setState({ currentIncidents: undefined });
this.setupTimelinePolling(hostname, refreshRate, provider);
}
Expand Down

0 comments on commit e3b0f3f

Please sign in to comment.