From e6f1180cbedb81c82700ea0f88d31a87c012aa5c Mon Sep 17 00:00:00 2001 From: dengfuping Date: Tue, 19 Nov 2024 16:18:24 +0800 Subject: [PATCH] fix(design): Remove duplicate Typography className --- packages/design/src/typography/hooks/useClassName.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/packages/design/src/typography/hooks/useClassName.ts b/packages/design/src/typography/hooks/useClassName.ts index e07a92dbc..3b8b984ce 100644 --- a/packages/design/src/typography/hooks/useClassName.ts +++ b/packages/design/src/typography/hooks/useClassName.ts @@ -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'),