From 6d59b8d85bfec32be12edcbbebc7005335cee08f Mon Sep 17 00:00:00 2001 From: yusheng chen Date: Mon, 7 Apr 2025 10:12:20 +0800 Subject: [PATCH] refactor: type improvement of component `AddVariablePopupWithPosition` (#17497) --- .../nodes/_base/components/add-variable-popup-with-position.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/components/workflow/nodes/_base/components/add-variable-popup-with-position.tsx b/web/app/components/workflow/nodes/_base/components/add-variable-popup-with-position.tsx index 657b910ee9..d0f971f849 100644 --- a/web/app/components/workflow/nodes/_base/components/add-variable-popup-with-position.tsx +++ b/web/app/components/workflow/nodes/_base/components/add-variable-popup-with-position.tsx @@ -29,7 +29,7 @@ const AddVariablePopupWithPosition = ({ nodeId, nodeData, }: AddVariablePopupWithPositionProps) => { - const ref = useRef(null) + const ref = useRef(null) const showAssignVariablePopup = useStore(s => s.showAssignVariablePopup) const setShowAssignVariablePopup = useStore(s => s.setShowAssignVariablePopup) const { handleNodeDataUpdate } = useNodeDataUpdate()