Skip to content

Commit

Permalink
add ts-ignore for eui badge
Browse files Browse the repository at this point in the history
  • Loading branch information
parkiino committed Feb 10, 2021
1 parent ce28b6b commit 1a75c0a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -208,6 +208,8 @@ export const EndpointDetails = memo(
defaultMessage: 'Policy Response',
}),
description: (
/** EuiBadge requires additional unnecessary props when the href prop is defined */
// @ts-ignore
<EuiBadge
color={POLICY_STATUS_TO_BADGE_COLOR[policyStatus] || 'default'}
data-test-subj="policyStatusHealth"
Expand Down

0 comments on commit 1a75c0a

Please sign in to comment.