fix: prevent http node overwrite on open (#4127)

This commit is contained in:
Pascal M 2024-05-07 04:08:18 +02:00 committed by GitHub
parent 13cd409575
commit 6563cb6ec6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -29,8 +29,8 @@ const useConfig = (id: string, payload: HttpNodeType) => {
const isReady = defaultConfig && Object.keys(defaultConfig).length > 0
if (isReady) {
setInputs({
...inputs,
...defaultConfig,
...inputs,
})
}
// eslint-disable-next-line react-hooks/exhaustive-deps