Skip to content

Commit

Permalink
fix: remove isEditing from not active status
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiusj committed Aug 4, 2023
1 parent 5e51eee commit 9b93bf6
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ const I18N_SCOPE = {
};

export function Performance({
isEditing,
status,
totalSales,
hasReports,
Expand All @@ -62,7 +61,7 @@ export function Performance({
return (
<Card.Section title={i18n.translate('title', I18N_SCOPE)}>
<VerticalStack>
{(isEditing || status === DiscountStatus.Scheduled) && (
{status === DiscountStatus.Scheduled && (
<Text as="span" color="subdued">
{i18n.translate('notActive', I18N_SCOPE)}
</Text>
Expand Down

0 comments on commit 9b93bf6

Please sign in to comment.