From ee2f21c2cc74ef5e9ffcd3c48d8332144283e6f5 Mon Sep 17 00:00:00 2001 From: Mat Schaffer Date: Tue, 21 Sep 2021 06:11:28 +0000 Subject: [PATCH] Use passed data rather than outer scope --- .../monitoring/public/application/pages/beats/overview.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/plugins/monitoring/public/application/pages/beats/overview.tsx b/x-pack/plugins/monitoring/public/application/pages/beats/overview.tsx index a6746dacb67f2..77fc007d55751 100644 --- a/x-pack/plugins/monitoring/public/application/pages/beats/overview.tsx +++ b/x-pack/plugins/monitoring/public/application/pages/beats/overview.tsx @@ -65,7 +65,7 @@ export const BeatsOverviewPage: React.FC = ({ clusters }) => { if (overviewData === null) { return null; } - return ; + return ; }; return (