From 916bacb60e2c893c01097e3e3d650dba48ce0420 Mon Sep 17 00:00:00 2001 From: Joel Date: Wed, 28 Feb 2024 18:17:39 +0800 Subject: [PATCH] chore: remove auto show modal --- .../workflow/nodes/http/components/authorization/index.tsx | 2 +- web/app/components/workflow/nodes/http/use-config.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/web/app/components/workflow/nodes/http/components/authorization/index.tsx b/web/app/components/workflow/nodes/http/components/authorization/index.tsx index a31a2d1f58..e6f32078f3 100644 --- a/web/app/components/workflow/nodes/http/components/authorization/index.tsx +++ b/web/app/components/workflow/nodes/http/components/authorization/index.tsx @@ -83,7 +83,7 @@ const Authorization: FC = ({ }, [tempPayload, onChange, onHide]) return ( { const [isShowAuthorization, { setTrue: showAuthorization, setFalse: hideAuthorization, - }] = useBoolean(true) + }] = useBoolean(false) const setAuthorization = useCallback((authorization: Authorization) => { const newInputs = produce(inputs, (draft: HttpNodeType) => {