From f9e66a2e65a417132ad217a6c725b8d320397335 Mon Sep 17 00:00:00 2001 From: Kerry Gallagher <471693+Kerry350@users.noreply.github.com> Date: Fri, 31 May 2024 14:21:04 +0100 Subject: [PATCH] Appease type checking with lazy loading --- .../components/fallback_fields/smart_fields_tooltip.tsx | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/packages/kbn-unified-field-list/src/components/fallback_fields/smart_fields_tooltip.tsx b/packages/kbn-unified-field-list/src/components/fallback_fields/smart_fields_tooltip.tsx index ba07364ad99d4..14411545cc6da 100644 --- a/packages/kbn-unified-field-list/src/components/fallback_fields/smart_fields_tooltip.tsx +++ b/packages/kbn-unified-field-list/src/components/fallback_fields/smart_fields_tooltip.tsx @@ -10,13 +10,9 @@ import { EuiIconTip } from '@elastic/eui'; import { i18n } from '@kbn/i18n'; import React from 'react'; -interface SmartFieldFallbackTooltipProps { +const SmartFieldFallbackTooltip: React.FC<{ associatedSmartFields: string; -} - -const SmartFieldFallbackTooltip: React.FC = ({ - associatedSmartFields, -}) => { +}> = ({ associatedSmartFields }) => { return (