Commit 77158af
committed
fix(webui): env vars editor loses focus on every keystroke
The environment variable key was used as the React key prop, so
editing the key name caused React to unmount/remount the input
on every character typed.
Switched to array index as key — stable across edits.
Confidence: high
Scope-risk: narrow
Tested: manual verification, tsc clean1 parent 4d4459c commit 77158af
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
548 | 548 | | |
549 | 549 | | |
550 | 550 | | |
551 | | - | |
552 | | - | |
| 551 | + | |
| 552 | + | |
553 | 553 | | |
554 | 554 | | |
555 | 555 | | |
| |||
0 commit comments