From 80c9e1ab58198add782938d06611d919f1ad90bc Mon Sep 17 00:00:00 2001 From: Valentin Rigal Date: Fri, 21 Jun 2024 12:29:55 +0200 Subject: [PATCH] Run linting --- ui/job-view/pushes/JobButton.jsx | 8 ++------ ui/perfherder/alerts/AlertStatusCountdown.jsx | 6 ++---- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/ui/job-view/pushes/JobButton.jsx b/ui/job-view/pushes/JobButton.jsx index 261448a352f..104d9b4ef96 100644 --- a/ui/job-view/pushes/JobButton.jsx +++ b/ui/job-view/pushes/JobButton.jsx @@ -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 ( diff --git a/ui/perfherder/alerts/AlertStatusCountdown.jsx b/ui/perfherder/alerts/AlertStatusCountdown.jsx index 6f677d70a4f..8178a54ae7b 100644 --- a/ui/perfherder/alerts/AlertStatusCountdown.jsx +++ b/ui/perfherder/alerts/AlertStatusCountdown.jsx @@ -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);