diff --git a/libs/remix-ui/vertical-icons-panel/src/lib/components/Badge.tsx b/libs/remix-ui/vertical-icons-panel/src/lib/components/Badge.tsx index 3408568a59..ece9c3610e 100644 --- a/libs/remix-ui/vertical-icons-panel/src/lib/components/Badge.tsx +++ b/libs/remix-ui/vertical-icons-panel/src/lib/components/Badge.tsx @@ -1,3 +1,4 @@ +/* eslint-disable @typescript-eslint/no-non-null-assertion */ import React from 'react' import { BadgeStatus } from './Icon' import { CustomTooltip } from '@remix-ui/helper' @@ -58,7 +59,9 @@ function Badge ({ badgeStatus }: BadgeProps) { className={`${resolveClasses(badgeStatus.key, badgeStatus.type!)}`} aria-hidden="true" > - { badgeStatus.pluginName && badgeStatus.pluginName === 'solidityStaticAnalysis' ?   : badgeStatus.text } + { badgeStatus.pluginName && badgeStatus.pluginName === 'solidityStaticAnalysis' ? badgeStatus.type === 'warning' || badgeStatus.type === 'error' ? + + : :nbsp; : badgeStatus.text } // ) : null