[ES|QL] Fixes console error when creating ES|QL charts (#190503)

## Summary

Closes https://github.com/elastic/kibana/issues/190442

This is causing the error, as it is not needed. The abortController when
passed to the search strategy is handled by it
This commit is contained in:
Stratoula Kalafateli 2024-08-14 17:31:47 +02:00 committed by GitHub
parent 8e736c4918
commit 4d0cfdf943
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -153,9 +153,6 @@ export function LensEditConfigurationFlyout({
}
};
getESQLGridAttrs();
return () => {
abortController.abort();
};
}, [adHocDataViews, dataGridAttrs, query, startDependencies]);
const attributesChanged: boolean = useMemo(() => {