瀏覽代碼

:fire: closeable

visuddhinanda 1 年之前
父節點
當前提交
4a3c752202
共有 1 個文件被更改,包括 1 次插入6 次删除
  1. 1 6
      dashboard/src/components/tag/TagsArea.tsx

+ 1 - 6
dashboard/src/components/tag/TagsArea.tsx

@@ -34,12 +34,7 @@ const TagsAreaWidget = ({
 
 
   const currTags = tags?.map((item, id) => {
   const currTags = tags?.map((item, id) => {
     return id < max ? (
     return id < max ? (
-      <Tag
-        key={id}
-        color={"#" + numToHex(item.color ?? 13684944)}
-        closable
-        onClose={() => {}}
-      >
+      <Tag key={id} color={"#" + numToHex(item.color ?? 13684944)}>
         {item.name}
         {item.name}
       </Tag>
       </Tag>
     ) : undefined;
     ) : undefined;