From 068fa3d0e39373ee513e38a608e111bc9c89d8f8 Mon Sep 17 00:00:00 2001 From: hjlarry Date: Fri, 19 Sep 2025 16:45:49 +0800 Subject: [PATCH] fix CI --- .../components/workflow/comment/{icon.tsx => comment-icon.tsx} | 2 ++ web/app/components/workflow/comment/index.tsx | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) rename web/app/components/workflow/comment/{icon.tsx => comment-icon.tsx} (99%) diff --git a/web/app/components/workflow/comment/icon.tsx b/web/app/components/workflow/comment/comment-icon.tsx similarity index 99% rename from web/app/components/workflow/comment/icon.tsx rename to web/app/components/workflow/comment/comment-icon.tsx index c9fc5abd6a..0bced3a6e1 100644 --- a/web/app/components/workflow/comment/icon.tsx +++ b/web/app/components/workflow/comment/comment-icon.tsx @@ -1,3 +1,5 @@ +'use client' + import type { FC } from 'react' import { memo, useMemo } from 'react' import { useReactFlow, useViewport } from 'reactflow' diff --git a/web/app/components/workflow/comment/index.tsx b/web/app/components/workflow/comment/index.tsx index 656f768baa..f80ddac5bf 100644 --- a/web/app/components/workflow/comment/index.tsx +++ b/web/app/components/workflow/comment/index.tsx @@ -1,5 +1,5 @@ export { CommentCursor } from './cursor' export { CommentInput } from './comment-input' -export { CommentIcon } from './icon' +export { CommentIcon } from './comment-icon' export { CommentThread } from './thread' export { MentionInput } from './mention-input'