diff --git a/src/plugins/dashboard/public/application/utils/get_no_items_message.tsx b/src/plugins/dashboard/public/application/utils/get_no_items_message.tsx
index e2004dfa8bf4..460fbe9b877d 100644
--- a/src/plugins/dashboard/public/application/utils/get_no_items_message.tsx
+++ b/src/plugins/dashboard/public/application/utils/get_no_items_message.tsx
@@ -5,12 +5,7 @@
import React, { Fragment } from 'react';
import { FormattedMessage } from '@osd/i18n/react';
-import {
- EuiSmallButton,
- EuiEmptyPrompt,
- EuiLink,
- EuiText,
-} from '@elastic/eui';
+import { EuiSmallButton, EuiEmptyPrompt, EuiLink, EuiText } from '@elastic/eui';
import { ApplicationStart } from 'opensearch-dashboards/public';
export const getNoItemsMessage = (
diff --git a/src/plugins/data_source_management/public/components/data_source_error_menu/data_source_error_menu.tsx b/src/plugins/data_source_management/public/components/data_source_error_menu/data_source_error_menu.tsx
index aa9ec9934ec3..f4bbc239ff70 100644
--- a/src/plugins/data_source_management/public/components/data_source_error_menu/data_source_error_menu.tsx
+++ b/src/plugins/data_source_management/public/components/data_source_error_menu/data_source_error_menu.tsx
@@ -7,7 +7,7 @@ import React, { useState } from 'react';
import { i18n } from '@osd/i18n';
import { ApplicationStart } from 'opensearch-dashboards/public';
import {
- EuiSmallButtonIcon,
+ EuiButtonIcon,
EuiButton,
EuiFlexGroup,
EuiFlexItem,
@@ -41,7 +41,7 @@ export const DataSourceErrorMenu = ({ application }: DataSourceErrorMenuProps) =
);
const iconButton = (
-
- {
history.push('/create');
}}
@@ -321,10 +321,10 @@ export const DirectQueryDataSourceConfigure: React.FC
data-test-subj="cancelButton"
>
Cancel
-
+
- setPage('configure')}
color="ghost"
size="s"
@@ -332,10 +332,10 @@ export const DirectQueryDataSourceConfigure: React.FC
data-test-subj="previousButton"
>
Previous
-
+
- (page === 'review' ? createDatasource() : setPage('review'))}
size="s"
iconType="arrowRight"
@@ -345,7 +345,7 @@ export const DirectQueryDataSourceConfigure: React.FC
{page === 'configure'
? `Review Configuration`
: `Connect to ${DatasourceTypeToDisplayName[type]}`}
-
+
diff --git a/src/plugins/data_source_management/public/components/no_data_source/no_data_source.tsx b/src/plugins/data_source_management/public/components/no_data_source/no_data_source.tsx
index a3a6746b8a7b..6b48a7a7a0b4 100644
--- a/src/plugins/data_source_management/public/components/no_data_source/no_data_source.tsx
+++ b/src/plugins/data_source_management/public/components/no_data_source/no_data_source.tsx
@@ -13,7 +13,7 @@ import {
EuiText,
EuiFlexGroup,
EuiFlexItem,
- EuiSmallButtonIcon,
+ EuiButtonIcon,
} from '@elastic/eui';
import { ApplicationStart } from 'opensearch-dashboards/public';
import { FormattedMessage } from 'react-intl';
@@ -38,7 +38,7 @@ export const NoDataSource: React.FC = ({
}) => {
const [showPopover, setShowPopover] = useState(false);
const button = (
-
{/* eslint-disable-next-line @elastic/eui/href-or-on-click */}
- handleVisualizeLinkClick(e)}
href={visualizeLink}
size="s"
@@ -125,7 +118,7 @@ export function DiscoverFieldDetails({
id="discover.fieldChooser.detailViews.visualizeLinkText"
defaultMessage="Visualize"
/>
-
+
{warnings.length > 0 && (
)}
diff --git a/src/plugins/discover/public/application/components/top_nav/open_search_panel.tsx b/src/plugins/discover/public/application/components/top_nav/open_search_panel.tsx
index 52c631ac67c7..1bc4da9a08cf 100644
--- a/src/plugins/discover/public/application/components/top_nav/open_search_panel.tsx
+++ b/src/plugins/discover/public/application/components/top_nav/open_search_panel.tsx
@@ -100,7 +100,6 @@ export function OpenSearchPanel({ onClose, makeUrl }: Props) {
- {/* eslint-disable-next-line @elastic/eui/href-or-on-click */}
{t.promotion!.description}
- props.onPromotionClicked(t)}
fill
size="s"
@@ -60,7 +60,7 @@ export function NewVisHelp(props: Props) {
iconSide="right"
>
{t.promotion!.buttonText}
-
+
))}