From 84b86797d83396f6f5d933ca270ffc806e5561f1 Mon Sep 17 00:00:00 2001 From: Mike Place Date: Thu, 2 Jan 2020 15:33:53 +0100 Subject: [PATCH] Implement review suggestion for i8n compat --- .../monitoring/public/components/elasticsearch/node/node.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/node/node.js b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/node/node.js index ee2418602d99ba..67294c5a00c13e 100644 --- a/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/node/node.js +++ b/x-pack/legacy/plugins/monitoring/public/components/elasticsearch/node/node.js @@ -21,10 +21,6 @@ import { MonitoringTimeseriesContainer } from '../../chart'; import { ShardAllocation } from '../shard_allocation/shard_allocation'; import { FormattedMessage } from '@kbn/i18n/react'; -function formatScreenReaderMsg(msg, nodeSummary) { - return msg + ' ' + nodeSummary.name; -} - export const Node = ({ nodeSummary, metrics, @@ -51,7 +47,7 @@ export const Node = ({