From 815262b9a6225becbd7efe0dfed6aca11b91d99d Mon Sep 17 00:00:00 2001 From: Joel Date: Fri, 29 Mar 2024 18:02:06 +0800 Subject: [PATCH] chore: remove input vars --- .../components/workflow/nodes/http/panel.tsx | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/web/app/components/workflow/nodes/http/panel.tsx b/web/app/components/workflow/nodes/http/panel.tsx index 5d679f96a6..d2649962e4 100644 --- a/web/app/components/workflow/nodes/http/panel.tsx +++ b/web/app/components/workflow/nodes/http/panel.tsx @@ -8,9 +8,7 @@ import KeyValue from './components/key-value' import EditBody from './components/edit-body' import AuthorizationModal from './components/authorization' import type { HttpNodeType } from './types' -import VarList from '@/app/components/workflow/nodes/_base/components/variable/var-list' import Field from '@/app/components/workflow/nodes/_base/components/field' -import AddButton from '@/app/components/base/button/add-button' import Split from '@/app/components/workflow/nodes/_base/components/split' import OutputVars, { VarItem } from '@/app/components/workflow/nodes/_base/components/output-vars' import { Settings01 } from '@/app/components/base/icons/src/vender/line/general' @@ -29,9 +27,6 @@ const Panel: FC> = ({ const { readOnly, inputs, - handleVarListChange, - handleAddVariable, - filterVar, handleMethodChange, handleUrlChange, headers, @@ -60,20 +55,6 @@ const Panel: FC> = ({ return (
- : undefined - } - > - -