mirror of
https://github.com/ant-design/ant-design.git
synced 2025-01-18 22:36:31 +08:00
style(typography): remove null check (#30248)
This commit is contained in:
parent
662c7bbf17
commit
c2e0cf5154
@ -473,7 +473,7 @@ class Base extends React.Component<InternalBlockProps, BaseState> {
|
||||
}
|
||||
|
||||
// show rest content as title on symbol
|
||||
restContent = restContent?.slice(String(ellipsisContent || '').length);
|
||||
restContent = restContent.slice(String(ellipsisContent || '').length);
|
||||
|
||||
// We move full content to outer element to avoid repeat read the content by accessibility
|
||||
textNode = (
|
||||
|
Loading…
Reference in New Issue
Block a user