mirror of
https://github.com/usebruno/bruno.git
synced 2024-11-22 07:53:34 +01:00
flx: add unique key prop to ImportCollection options (#2133)
This PR uses the key of the options object in import collection to suppress the unique key prop warning. Fixes issue #2078
This commit is contained in:
parent
28e4159c21
commit
60cb9da83e
@ -79,7 +79,7 @@ const ImportCollection = ({ onClose, handleSubmit }) => {
|
||||
</div>
|
||||
<div className="flex justify-start w-full mt-4 max-w-[450px]">
|
||||
{Object.entries(options || {}).map(([key, option]) => (
|
||||
<div className="relative flex items-start">
|
||||
<div key={key} className="relative flex items-start">
|
||||
<div className="flex h-6 items-center">
|
||||
<input
|
||||
id="comments"
|
||||
|
Loading…
Reference in New Issue
Block a user