From 5fb63c1071240f7e79e0c1f89661a8697679e443 Mon Sep 17 00:00:00 2001 From: Robbie Lankford Date: Sun, 5 Dec 2021 03:14:20 -0600 Subject: [PATCH] remove unused agentMode param Signed-off-by: Robbie Lankford --- web/ui/react-app/src/pages/status/Status.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/web/ui/react-app/src/pages/status/Status.tsx b/web/ui/react-app/src/pages/status/Status.tsx index faeb6d25a..0d37db961 100644 --- a/web/ui/react-app/src/pages/status/Status.tsx +++ b/web/ui/react-app/src/pages/status/Status.tsx @@ -83,7 +83,7 @@ const StatusWithStatusIndicator = withStatusIndicator(StatusContent); StatusContent.displayName = 'Status'; -const StatusResult: FC<{ fetchPath: string; title: string; agentMode: boolean }> = ({ fetchPath, title, agentMode }) => { +const StatusResult: FC<{ fetchPath: string; title: string }> = ({ fetchPath, title }) => { const { response, isLoading, error } = useFetch(fetchPath); return ( = ({ agentMode }) => { if (agentMode && title === 'Alertmanagers') { return null; } - return ; + return ; })} );