Skip to content

Commit

Permalink
update(image-annotator-react): update types
Browse files Browse the repository at this point in the history
  • Loading branch information
gary-Shen committed Oct 30, 2024
1 parent 914d9e5 commit 7bfba08
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/image-annotator-react/src/LabelSection/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ function LabelItem({
};

return (
<EllipsisText maxWidth={112} title={children}>
<EllipsisText maxWidth={112} title={children as any}>
<LabelWrapper active={active} color={attribute.color ?? '#000'} onClick={handleClick}>
{children as string}
</LabelWrapper>
Expand Down

0 comments on commit 7bfba08

Please sign in to comment.