From 9e4d3c75aee9c3e92a6fb1ebf8f15eed1d1cfdb7 Mon Sep 17 00:00:00 2001 From: yyh Date: Sun, 18 Jan 2026 16:15:30 +0800 Subject: [PATCH] fix --- web/app/components/workflow/variable-inspect/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/app/components/workflow/variable-inspect/index.tsx b/web/app/components/workflow/variable-inspect/index.tsx index 541e266c37..dc20bae4d3 100644 --- a/web/app/components/workflow/variable-inspect/index.tsx +++ b/web/app/components/workflow/variable-inspect/index.tsx @@ -23,7 +23,7 @@ const VariableInspectPanel: FC = () => { return workflowCanvasHeight - 60 }, [workflowCanvasHeight]) - const handleResize = useCallback((height: number) => { + const handleResize = useCallback((_width: number, height: number) => { storage.set(STORAGE_KEYS.WORKFLOW.VARIABLE_INSPECT_PANEL_HEIGHT, height) setVariableInspectPanelHeight(height) }, [setVariableInspectPanelHeight])