fix(striker-ui): correct type of indicator value in IconWithIndicator

main
Tsu-ba-me 12 months ago
parent c4cc6ddb9f
commit 32ed298d27
  1. 2
      striker-ui/components/IconWithIndicator.tsx

@ -127,7 +127,7 @@ const IconWithIndicator = forwardRef<
...indicatorTextSx,
}}
>
{value > INDICATOR_MAX ? `${INDICATOR_MAX}+` : value}
{Number(value) > INDICATOR_MAX ? `${INDICATOR_MAX}+` : value}
</BodyText>
),
[indicatorTextSx, restIndicatorTextProps],

Loading…
Cancel
Save