fix: use field.id as React key for env var rows by Felipeness · Pull Request #5262 · unkeyed/unkey

@Felipeness

The useFieldArray docs specify that field.id (not index) should be
used as the component key. Including the index causes React to
unmount/remount subsequent rows when one is deleted, which destroys
local state (like the password visibility toggle) and causes
unnecessary re-renders.

@Flo4604

@Felipeness

Accept upstream's virtualized env vars implementation which already
uses field.id as React key on the wrapper div.