Skip to content

Commit

Permalink
[CircleGraph] Fix constructor (#1687)
Browse files Browse the repository at this point in the history
This commit fixes a constructor to return nothing consistently.

ONE-vscode-DCO-1.0-Signed-off-by: Dayoung Lee <[email protected]>
  • Loading branch information
dayo09 authored Sep 26, 2023
1 parent 3ccbdc8 commit b9bfe50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion media/CircleGraph/view-sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -759,7 +759,7 @@ sidebar.VisualTensorView = class {
this._element = this._host.document.createElement("div");
this._tensorShape = getTensorShape(this._tensor);
if (this._tensorShape.length < 2) {
return this;
return;
}
this._element.className = "sidebar-view-item-value-line-border";

Expand Down

0 comments on commit b9bfe50

Please sign in to comment.