Skip to content

Commit

Permalink
chore: fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
uyarn committed Apr 23, 2024
1 parent 147e8b0 commit 55cdffb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/typography/Ellipsis.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ const Ellipsis = ({
};

return (
// @ts-ignore
<Component {...componentProps}>
<Truncate
width={width}
Expand Down
1 change: 1 addition & 0 deletions src/typography/Text.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ const Text = forwardRef<HTMLSpanElement, TypographyTextProps>((originalProps, re
if (!ellipsis) {
return Component ? (
<span className={classNames(className, prefixCls)} ref={ref || currentRef} {...rest}>
{/* @ts-ignore */}
<Component>{renderContent(true)}</Component>
</span>
) : (
Expand Down

0 comments on commit 55cdffb

Please sign in to comment.