mirror of
https://github.com/Significant-Gravitas/AutoGPT.git
synced 2026-04-08 03:00:28 -04:00
ref: pr changes
This commit is contained in:
@@ -953,10 +953,8 @@ const NodeKeyValueInput: FC<{
|
||||
>
|
||||
<div>
|
||||
{keyValuePairs.map(({ key, value }, index) => (
|
||||
/*
|
||||
The `index` is used as a DOM key instead of the actual `key`
|
||||
because the `key` can change with each input, causing the input to lose focus.
|
||||
*/
|
||||
// The `index` is used as a DOM key instead of the actual `key`
|
||||
// because the `key` can change with each input, causing the input to lose focus.
|
||||
<div key={index}>
|
||||
<NodeHandle
|
||||
keyName={getEntryKey(key)}
|
||||
|
||||
Reference in New Issue
Block a user