From c3f4ca8f7d84f90c2e4f2e94bd00cc8ab70e0c69 Mon Sep 17 00:00:00 2001 From: andreas-unleash Date: Wed, 4 Oct 2023 13:08:14 +0300 Subject: [PATCH] fix: fmt Signed-off-by: andreas-unleash --- .../ReportTable/ReportExpiredCell/formatExpiredAt.ts | 4 ++-- .../ReportTable/ReportStatusCell/formatStatus.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/src/component/project/Project/ProjectHealth/ReportTable/ReportExpiredCell/formatExpiredAt.ts b/frontend/src/component/project/Project/ProjectHealth/ReportTable/ReportExpiredCell/formatExpiredAt.ts index c0a3a83cc4..c8afc7c9b6 100644 --- a/frontend/src/component/project/Project/ProjectHealth/ReportTable/ReportExpiredCell/formatExpiredAt.ts +++ b/frontend/src/component/project/Project/ProjectHealth/ReportTable/ReportExpiredCell/formatExpiredAt.ts @@ -6,12 +6,12 @@ import { FeatureTypeSchema } from 'openapi'; export const formatExpiredAt = ( feature: IFeatureToggleListItem, - featureTypes: FeatureTypeSchema[], + featureTypes: FeatureTypeSchema[] ): string | undefined => { const { type, createdAt } = feature; const featureType = featureTypes.find( - (featureType) => featureType.name === type, + featureType => featureType.name === type ); if ( diff --git a/frontend/src/component/project/Project/ProjectHealth/ReportTable/ReportStatusCell/formatStatus.ts b/frontend/src/component/project/Project/ProjectHealth/ReportTable/ReportStatusCell/formatStatus.ts index 2d7a2999a3..65e595832e 100644 --- a/frontend/src/component/project/Project/ProjectHealth/ReportTable/ReportStatusCell/formatStatus.ts +++ b/frontend/src/component/project/Project/ProjectHealth/ReportTable/ReportStatusCell/formatStatus.ts @@ -8,12 +8,12 @@ export type ReportingStatus = 'potentially-stale' | 'healthy'; export const formatStatus = ( feature: IFeatureToggleListItem, - featureTypes: FeatureTypeSchema[], + featureTypes: FeatureTypeSchema[] ): ReportingStatus => { const { type, createdAt } = feature; const featureType = featureTypes.find( - (featureType) => featureType.name === type, + featureType => featureType.name === type ); const date = parseISO(createdAt); const now = new Date();