Skip to content

Commit

Permalink
Using the key which is actually the label is not unique. Must use id
Browse files Browse the repository at this point in the history
  • Loading branch information
jaalah committed Dec 19, 2024
1 parent 55ac380 commit 47a03bc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ export const RegionSelect = <
<RegionOption
disabledOptions={disabledRegions[region.id]}
item={region}
key={region.id}
key={`${region.id}-${key}`}
props={rest}
/>
);
Expand Down

0 comments on commit 47a03bc

Please sign in to comment.