chore: remove auto show modal

This commit is contained in:
Joel 2024-02-28 18:17:39 +08:00
parent a98b5ca97e
commit 916bacb60e
2 changed files with 2 additions and 2 deletions

View File

@ -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}

View File

@ -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) => {