diff --git a/public/components/DataSourceThreatAlertsCard/DataSourceThreatAlertsCard.tsx b/public/components/DataSourceThreatAlertsCard/DataSourceThreatAlertsCard.tsx index e55bb39a..5c672d61 100644 --- a/public/components/DataSourceThreatAlertsCard/DataSourceThreatAlertsCard.tsx +++ b/public/components/DataSourceThreatAlertsCard/DataSourceThreatAlertsCard.tsx @@ -55,10 +55,7 @@ export const DataSourceThreatAlertsCard: React.FC = ( }, [getDataSourceMenu]); const notifications = getNotifications(); const [loading, setLoading] = useState(false); - const [dataSource, setDataSource] = useState({ - label: 'Local cluster', - id: '', - }); + const [dataSource, setDataSource] = useState(); const [alerts, setAlerts] = useState([]); const getAlerts = async () => {