From 4d4aac47acdd143b3bb698ae4cfbc21a5bace889 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B0=A8=E6=AC=A3?= Date: Thu, 5 Sep 2024 01:41:44 +0800 Subject: [PATCH] refactor: Update AddFlowVariableModal to include hover effect on variable fields --- .../flow/canvas-modal/add-flow-variable-modal.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/web/components/flow/canvas-modal/add-flow-variable-modal.tsx b/web/components/flow/canvas-modal/add-flow-variable-modal.tsx index c9fddccc5..523af3b3a 100644 --- a/web/components/flow/canvas-modal/add-flow-variable-modal.tsx +++ b/web/components/flow/canvas-modal/add-flow-variable-modal.tsx @@ -200,7 +200,7 @@ export const AddFlowVariableModal: React.FC = ({ flowInfo, setFlowInfo }) {(fields, { add, remove }) => ( <> {fields.map(({ key, name, ...restField }, index) => ( - + = ({ flowInfo, setFlowInfo }) + remove(name)} /> + ))}