mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Chore: Remove unnecessary type assertions (#78009)
* Chore: Remove unnecessary type assertions * betterer
This commit is contained in:
@@ -50,7 +50,7 @@ export function ServiceGraphSection({
|
||||
return null;
|
||||
}
|
||||
|
||||
const ds = dsState.value as PrometheusDatasource;
|
||||
const ds = dsState.value;
|
||||
|
||||
if (!graphDatasourceUid) {
|
||||
return getWarning(
|
||||
|
||||
Reference in New Issue
Block a user