Skip to content

Commit

Permalink
Fix typecheck
Browse files Browse the repository at this point in the history
  • Loading branch information
phillipb committed Nov 5, 2020
1 parent 9ccabb6 commit 53b104f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import React from 'react';
import { i18n } from '@kbn/i18n';

import { first } from 'lodash';
import { ConditionalToolTip } from './conditional_tooltip';
import { euiStyled } from '../../../../../../../observability/public';
import {
InfraWaffleMapBounds,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ interface Props {
isPopoverOpen: boolean;
closePopover: () => void;
popoverPosition: EuiPopoverProps['anchorPosition'];
openNewOverlay(): void;
openNewOverlay?: () => void;
}

export const NodeContextMenu: React.FC<Props & { theme?: EuiTheme }> = withTheme(
Expand Down Expand Up @@ -162,7 +162,7 @@ export const NodeContextMenu: React.FC<Props & { theme?: EuiTheme }> = withTheme
};

const openNewOverlayMenuItem: SectionLinkProps = {
label: i18n.translate('xpack.infra.nodeContextMenu.createAlertLink', {
label: i18n.translate('xpack.infra.nodeContextMenu.openNewOverlay', {
defaultMessage: '**** [NEW] Overlay ***',
}),
style: { color: theme?.eui.euiLinkColor || '#006BB4', fontWeight: 500, padding: 0 },
Expand Down

0 comments on commit 53b104f

Please sign in to comment.