Skip to content

Commit 0d080e0

Browse files
Alberto Iannacconefrancescospissu
Alberto Iannaccone
authored andcommitted
💄
1 parent 9825043 commit 0d080e0

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

‎arduino-ide-extension/src/browser/boards/boards-toolbar-item.tsx

+2-4
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export namespace BoardsDropDown {
2727

2828
export class BoardsDropDown extends React.Component<BoardsDropDown.Props> {
2929
protected dropdownElement: HTMLElement;
30-
listRef: React.RefObject<HTMLDivElement>;
30+
private listRef: React.RefObject<HTMLDivElement>;
3131

3232
constructor(props: BoardsDropDown.Props) {
3333
super(props);
@@ -48,8 +48,6 @@ export class BoardsDropDown extends React.Component<BoardsDropDown.Props> {
4848
}
4949
}
5050

51-
override componentDidMount(): void {}
52-
5351
override render(): React.ReactNode {
5452
return ReactDOM.createPortal(this.renderNode(), this.dropdownElement);
5553
}
@@ -298,7 +296,7 @@ function iconNameFromProtocol(protocol: string): string {
298296
}
299297
}
300298

301-
function portLabel(portName?: string) {
299+
function portLabel(portName?: string): string {
302300
return portName
303301
? nls.localize('arduino/board/portLabel', 'Port: {0}', portName)
304302
: nls.localize('arduino/board/disconnected', 'Disconnected');

‎arduino-ide-extension/src/browser/style/fonts.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -653,4 +653,4 @@
653653
}
654654
.fa-microchip:before {
655655
content: "\f2db";
656-
}
656+
}

0 commit comments

Comments
 (0)