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

pull/4137/head
Pascal M 2 years ago committed by GitHub
parent 13cd409575
commit 6563cb6ec6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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

Loading…
Cancel
Save