diff --git a/web/src/components/edit-tag/index.tsx b/web/src/components/edit-tag/index.tsx index b336a0878..676ba7ff9 100644 --- a/web/src/components/edit-tag/index.tsx +++ b/web/src/components/edit-tag/index.tsx @@ -1,6 +1,6 @@ import { PlusOutlined } from '@ant-design/icons'; import type { InputRef } from 'antd'; -import { Input, Tag, theme } from 'antd'; +import { Input, Tag, theme, Tooltip } from 'antd'; import { TweenOneGroup } from 'rc-tween-one'; import React, { useEffect, useRef, useState } from 'react'; @@ -50,17 +50,19 @@ const EditTag = ({ value = [], onChange }: EditTagsProps) => { const forMap = (tag: string) => { return ( - { - e.preventDefault(); - handleClose(tag); - }} - > - {tag} - + + { + e.preventDefault(); + handleClose(tag); + }} + > + {tag} + + ); };