We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d204033 commit 4b0bec0Copy full SHA for 4b0bec0
public/components/DataSourceAlertsCard/DataSourceAlertsCard.tsx
@@ -26,10 +26,7 @@ export const DataSourceAlertsCard: React.FC<DataSourceAlertsCardProps> = ({ get
26
return null;
27
}, [getDataSourceMenu]);
28
const [loading, setLoading] = useState(false);
29
- const [dataSource, setDataSource] = useState<DataSourceOption>({
30
- label: 'Local cluster',
31
- id: '',
32
- });
+ const [dataSource, setDataSource] = useState<DataSourceOption>();
33
const [alerts, setAlerts] = useState<any[]>([]);
34
35
useEffect(() => {
0 commit comments