Fix react warnings (#142712)

This commit is contained in:
Marco Liberati 2022-10-05 13:52:50 +02:00 committed by GitHub
parent da392153d9
commit 93942280ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 2 deletions

View file

@ -71,7 +71,7 @@ as uiSettings within the code.
|{kib-repo}blob/{branch}/src/plugins/data_views/README.mdx[dataViews]
|The data views API provides a consistent method of structuring and formatting documents
and field lists across the various Kibana apps. Its typically used in conjunction with
and field lists across the various Kibana apps. It's typically used in conjunction with
<DocLink id="kibDevTutorialDataSearchAndSessions" section="high-level-search" text="SearchSource" /> for composing queries.

View file

@ -605,7 +605,15 @@ export function DimensionEditor(props: DimensionEditorProps) {
...services,
};
const helpButton = <EuiButtonIcon onClick={onHelpClick} iconType="documentation" />;
const helpButton = (
<EuiButtonIcon
onClick={onHelpClick}
iconType="documentation"
aria-label={i18n.translate('xpack.lens.indexPattern.quickFunctions.tableTitle', {
defaultMessage: 'Description of functions',
})}
/>
);
const columnsSidebar = [
{