Skip to content

Commit

Permalink
Run linting
Browse files Browse the repository at this point in the history
  • Loading branch information
vrigal committed Jun 21, 2024
1 parent 9f749a2 commit 61fc413
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
8 changes: 2 additions & 6 deletions ui/job-view/pushes/JobButton.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,8 @@ export default class JobButtonComponent extends React.Component {
* shallow compare would allow.
*/
shouldComponentUpdate(nextProps, nextState) {
const {
visible,
resultStatus,
failureClassificationId,
intermittent,
} = this.props;
const { visible, resultStatus, failureClassificationId, intermittent } =
this.props;
const { isSelected, isRunnableSelected } = this.state;

return (
Expand Down
6 changes: 2 additions & 4 deletions ui/perfherder/alerts/AlertStatusCountdown.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,8 @@ export default class AlertStatusCountdown extends React.Component {

getDueDateCountdownsStatus() {
const { alertSummary } = this.props;
let {
triage_due_date: triageDueDate,
bug_due_date: bugDueDate,
} = alertSummary;
let { triage_due_date: triageDueDate, bug_due_date: bugDueDate } =
alertSummary;

const currentDate = new Date(Date.now());
triageDueDate = new Date(triageDueDate);
Expand Down

0 comments on commit 61fc413

Please sign in to comment.