Commit 916bacb6 authored by Joel's avatar Joel

chore: remove auto show modal

parent a98b5ca9
......@@ -83,7 +83,7 @@ const Authorization: FC<Props> = ({
}, [tempPayload, onChange, onHide])
return (
<Modal
title='Authorization'
title={t(`${i18nPrefix}.authorization`)}
wrapperClassName='z-50 w-400'
isShow={isShow}
onClose={onHide}
......
......@@ -53,7 +53,7 @@ const useConfig = (initInputs: HttpNodeType) => {
const [isShowAuthorization, {
setTrue: showAuthorization,
setFalse: hideAuthorization,
}] = useBoolean(true)
}] = useBoolean(false)
const setAuthorization = useCallback((authorization: Authorization) => {
const newInputs = produce(inputs, (draft: HttpNodeType) => {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment