This is an automated email from the ASF dual-hosted git repository. enzomartellucci pushed a commit to branch enxdev/refactor/antd5/create-wrappers in repository https://gitbox.apache.org/repos/asf/superset.git
commit e8611a55668619811bbb118ed326c96d0019cb18 Author: Enzo Martellucci <[email protected]> AuthorDate: Sun Mar 30 01:08:56 2025 +0100 remove custom icons from Tag component --- superset-frontend/src/components/Tag/index.tsx | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/superset-frontend/src/components/Tag/index.tsx b/superset-frontend/src/components/Tag/index.tsx index fbf198c5c5..c39a0f1329 100644 --- a/superset-frontend/src/components/Tag/index.tsx +++ b/superset-frontend/src/components/Tag/index.tsx @@ -24,7 +24,6 @@ import type { TagProps } from 'antd-v5/es'; import type { CheckableTagProps } from 'antd-v5/es/tag'; import { useMemo } from 'react'; import { Tooltip } from 'src/components/Tooltip'; -import { Icons } from 'src/components/Icons'; const StyledTag = styled(AntdTag)` ${({ theme }) => ` @@ -64,11 +63,7 @@ const SupersetTag = ({ key={id} closable={editable} onClose={handleClose} - closeIcon={ - editable ? ( - <Icons.CloseOutlined iconSize="xs" role="button" /> - ) : undefined - } + closeIcon={editable} {...rest} > {children || tagDisplay}
