diff --git a/web/ui/react-app/src/pages/status/Status.tsx b/web/ui/react-app/src/pages/status/Status.tsx index faeb6d25ae..0d37db9619 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 ; })} );