Skip to content

Commit b4196bf

Browse files
author
Alberto Iannaccone
committed
💄
1 parent a7ec430 commit b4196bf

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

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

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

2929
export class BoardsDropDown extends React.Component<BoardsDropDown.Props> {
3030
protected dropdownElement: HTMLElement;
31-
listRef: React.RefObject<HTMLDivElement>;
31+
private listRef: React.RefObject<HTMLDivElement>;
3232

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

52-
override componentDidMount(): void {}
53-
5452
override render(): React.ReactNode {
5553
return ReactDOM.createPortal(this.renderNode(), this.dropdownElement);
5654
}
@@ -299,7 +297,7 @@ function iconNameFromProtocol(protocol: string): string {
299297
}
300298
}
301299

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

Diff for: ‎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)