This commit is contained in:
yyh
2026-01-18 16:15:30 +08:00
parent 70bea85624
commit 9e4d3c75ae

View File

@@ -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])