Commit 916bacb6 authored by Joel's avatar Joel

chore: remove auto show modal

parent a98b5ca9
...@@ -83,7 +83,7 @@ const Authorization: FC<Props> = ({ ...@@ -83,7 +83,7 @@ const Authorization: FC<Props> = ({
}, [tempPayload, onChange, onHide]) }, [tempPayload, onChange, onHide])
return ( return (
<Modal <Modal
title='Authorization' title={t(`${i18nPrefix}.authorization`)}
wrapperClassName='z-50 w-400' wrapperClassName='z-50 w-400'
isShow={isShow} isShow={isShow}
onClose={onHide} onClose={onHide}
......
...@@ -53,7 +53,7 @@ const useConfig = (initInputs: HttpNodeType) => { ...@@ -53,7 +53,7 @@ const useConfig = (initInputs: HttpNodeType) => {
const [isShowAuthorization, { const [isShowAuthorization, {
setTrue: showAuthorization, setTrue: showAuthorization,
setFalse: hideAuthorization, setFalse: hideAuthorization,
}] = useBoolean(true) }] = useBoolean(false)
const setAuthorization = useCallback((authorization: Authorization) => { const setAuthorization = useCallback((authorization: Authorization) => {
const newInputs = produce(inputs, (draft: HttpNodeType) => { 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