From 6708bd3085e77875c6d99949f3fbdf4c9b40a75a Mon Sep 17 00:00:00 2001 From: hjlarry Date: Thu, 9 Apr 2026 11:47:37 +0800 Subject: [PATCH] fix icon import --- .../iconify-collections/assets/public/common/enter-key.svg | 4 ++++ packages/iconify-collections/assets/public/other/comment.svg | 3 +++ web/app/components/workflow/comment/mention-input.tsx | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 packages/iconify-collections/assets/public/common/enter-key.svg create mode 100644 packages/iconify-collections/assets/public/other/comment.svg diff --git a/packages/iconify-collections/assets/public/common/enter-key.svg b/packages/iconify-collections/assets/public/common/enter-key.svg new file mode 100644 index 0000000000..edfddfc188 --- /dev/null +++ b/packages/iconify-collections/assets/public/common/enter-key.svg @@ -0,0 +1,4 @@ + + + + diff --git a/packages/iconify-collections/assets/public/other/comment.svg b/packages/iconify-collections/assets/public/other/comment.svg new file mode 100644 index 0000000000..0f0609f0b6 --- /dev/null +++ b/packages/iconify-collections/assets/public/other/comment.svg @@ -0,0 +1,3 @@ + + + diff --git a/web/app/components/workflow/comment/mention-input.tsx b/web/app/components/workflow/comment/mention-input.tsx index ed51feb90d..8db73f614c 100644 --- a/web/app/components/workflow/comment/mention-input.tsx +++ b/web/app/components/workflow/comment/mention-input.tsx @@ -20,7 +20,7 @@ import { useTranslation } from 'react-i18next' import Textarea from 'react-textarea-autosize' import Avatar from '@/app/components/base/avatar' import Button from '@/app/components/base/button' -import { EnterKey } from '@/app/components/base/icons/src/public/common' +import EnterKey from '@/app/components/base/icons/src/public/common/EnterKey' import { fetchMentionableUsers } from '@/service/workflow-comment' import { cn } from '@/utils/classnames' import { useStore, useWorkflowStore } from '../store'