From fe656229c3fdc6271fcda670afb39d4f10d67ac0 Mon Sep 17 00:00:00 2001 From: Sonia Aguilar <33540275+soniaAguilarPeiron@users.noreply.github.com> Date: Wed, 2 Oct 2024 17:14:35 +0200 Subject: [PATCH] Alerting: Pluralize error tag (#94157) --- .../features/alerting/unified/components/rules/RuleStats.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/app/features/alerting/unified/components/rules/RuleStats.tsx b/public/app/features/alerting/unified/components/rules/RuleStats.tsx index 860482dd308..aa219753fba 100644 --- a/public/app/features/alerting/unified/components/rules/RuleStats.tsx +++ b/public/app/features/alerting/unified/components/rules/RuleStats.tsx @@ -1,7 +1,7 @@ import { isUndefined, omitBy, pick, sum } from 'lodash'; import pluralize from 'pluralize'; -import { Fragment, useDeferredValue, useMemo } from 'react'; import * as React from 'react'; +import { Fragment, useDeferredValue, useMemo } from 'react'; import { Badge, Stack } from '@grafana/ui'; import { @@ -121,7 +121,7 @@ export function getComponentsFromStats( } if (stats.error) { - statsComponents.push(); + statsComponents.push(); } if (stats.nodata) {