Skip to content

Commit f7f66d8

Browse files
committed
removed unnecessary statement
1 parent 4a4e8f4 commit f7f66d8

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/components/chat-item/chat-item-tree-file.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -146,9 +146,7 @@ export class ChatItemTreeFile {
146146
if (this.fileTooltipTimeout != null) {
147147
clearTimeout(this.fileTooltipTimeout);
148148
}
149-
if (this.fileTooltip != null) {
150-
this.fileTooltip?.close();
151-
this.fileTooltip = null;
152-
}
149+
this.fileTooltip?.close();
150+
this.fileTooltip = null;
153151
};
154152
}

0 commit comments

Comments
 (0)