{#each Object.entries(data.params) as [name, value]} updateNodeData(id, { params: { ...data.params, [name]: newValue } })} /> {/each}