Skip to content

Commit 99099b0

Browse files
committed
Fix duplicated id children warnings
1 parent 5c958bc commit 99099b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: arduino-ide-extension/src/browser/boards/boards-config.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ export class BoardsConfig extends React.Component<
266266
<div className="boards list">
267267
{Array.from(distinctBoards.values()).map((board) => (
268268
<Item<BoardWithPackage>
269-
key={`${board.name}-${board.packageName}`}
269+
key={toKey(board)}
270270
item={board}
271271
label={board.name}
272272
details={board.details}

0 commit comments

Comments
 (0)