From 9b93bf6cc70d5e6fe139db4130fe925ccc071d30 Mon Sep 17 00:00:00 2001 From: Mathius Date: Fri, 4 Aug 2023 12:10:52 -0700 Subject: [PATCH] fix: remove isEditing from not active status --- .../SummaryCard/components/Performance/Performance.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/components/SummaryCard/components/Performance/Performance.tsx b/src/components/SummaryCard/components/Performance/Performance.tsx index ec5f67bc..00c5d956 100644 --- a/src/components/SummaryCard/components/Performance/Performance.tsx +++ b/src/components/SummaryCard/components/Performance/Performance.tsx @@ -47,7 +47,6 @@ const I18N_SCOPE = { }; export function Performance({ - isEditing, status, totalSales, hasReports, @@ -62,7 +61,7 @@ export function Performance({ return ( - {(isEditing || status === DiscountStatus.Scheduled) && ( + {status === DiscountStatus.Scheduled && ( {i18n.translate('notActive', I18N_SCOPE)}