We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d0bf33f commit b71abc4Copy full SHA for b71abc4
arduino-ide-extension/src/browser/boards/boards-toolbar-item.tsx
@@ -135,9 +135,12 @@ export class BoardListDropDown extends React.Component<BoardsDropDown.Props> {
135
onDefaultAction();
136
}
137
};
138
+ const boardListItemKey = `${boardLabel}${
139
+ boardFqbn ? `-${boardFqbn}` : ''
140
+ }-${port.protocol}-${port.address}`;
141
return (
142
<div
- key={`board-item--${boardLabel}-${port.address}`}
143
+ key={`board-item--${boardListItemKey}`}
144
className={classNames('arduino-boards-dropdown-item', {
145
'arduino-boards-dropdown-item--selected': selected,
146
})}
0 commit comments