Skip to content

Commit

Permalink
fix: Tag component close icon display bug (#5956)
Browse files Browse the repository at this point in the history
Co-authored-by: Tony <tony.chen@omnichat.ai>
  • Loading branch information
manny3 and Tony authored Sep 13, 2022
1 parent 31800cb commit b35f637
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/tag/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,9 @@ const Tag = defineComponent({
const renderCloseIcon = () => {
if (closable) {
return closeIcon ? (
<div class={`${prefixCls.value}-close-icon`} onClick={handleCloseClick}>
<span class={`${prefixCls.value}-close-icon`} onClick={handleCloseClick}>
{closeIcon}
</div>
</span>
) : (
<CloseOutlined class={`${prefixCls.value}-close-icon`} onClick={handleCloseClick} />
);
Expand Down

0 comments on commit b35f637

Please sign in to comment.