diff --git a/web/app/components/base/markdown/index.tsx b/web/app/components/base/markdown/index.tsx
index 18467e5268..8b6728f246 100644
--- a/web/app/components/base/markdown/index.tsx
+++ b/web/app/components/base/markdown/index.tsx
@@ -29,7 +29,13 @@ export const Markdown = (props: MarkdownProps) => {
return (
-
+
)
}
diff --git a/web/app/components/workflow/nodes/human-input/components/form-content-preview.tsx b/web/app/components/workflow/nodes/human-input/components/form-content-preview.tsx
index 14a7b026b8..cffa54ec3c 100644
--- a/web/app/components/workflow/nodes/human-input/components/form-content-preview.tsx
+++ b/web/app/components/workflow/nodes/human-input/components/form-content-preview.tsx
@@ -14,14 +14,14 @@ import { Note, rehypeNotes, rehypeVariable, Variable } from './variable-in-markd
const i18nPrefix = 'workflow.nodes.humanInput'
-type Props = {
+type FormContentPreviewProps = {
content: string
formInputs: FormInputItem[]
userActions: UserAction[]
onClose: () => void
}
-const FormContentPreview: FC = ({
+const FormContentPreview: FC = ({
content,
formInputs,
userActions,
@@ -85,4 +85,5 @@ const FormContentPreview: FC = ({
)
}
+
export default React.memo(FormContentPreview)
diff --git a/web/app/components/workflow/nodes/human-input/panel.tsx b/web/app/components/workflow/nodes/human-input/panel.tsx
index 1164f0de41..0256e18cb3 100644
--- a/web/app/components/workflow/nodes/human-input/panel.tsx
+++ b/web/app/components/workflow/nodes/human-input/panel.tsx
@@ -95,7 +95,15 @@ const Panel: FC> = ({
/>
-