Skip to content

Commit

Permalink
fix(design): Remove duplicate Typography className
Browse files Browse the repository at this point in the history
  • Loading branch information
dengfuping committed Nov 19, 2024
1 parent 0d0563f commit e6f1180
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion packages/design/src/typography/hooks/useClassName.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import classNames from 'classnames';

const useClassName = (prefixCls: string, className: string, editable?: BlockProps['editable']) => {
const typographyCls = classNames(
prefixCls,
{
[`${prefixCls}-editable-text`]:
typeof editable === 'object' && editable?.triggerType?.includes('text'),
Expand Down

0 comments on commit e6f1180

Please sign in to comment.