diff --git a/src/content-handlers/iiif/modules/uv-contentleftpanel-module/TreeView.ts b/src/content-handlers/iiif/modules/uv-contentleftpanel-module/TreeView.ts index f493c4ff9..53024dee1 100644 --- a/src/content-handlers/iiif/modules/uv-contentleftpanel-module/TreeView.ts +++ b/src/content-handlers/iiif/modules/uv-contentleftpanel-module/TreeView.ts @@ -100,8 +100,7 @@ export class TreeView extends BaseView { } public getAllNodes(): TreeNode[] { - const allNodes = this.treeComponent.getAllNodes(); - return allNodes; + return this.treeComponent.getAllNodes(); } public deselectCurrentNode(): void { @@ -109,8 +108,7 @@ export class TreeView extends BaseView { } public getNodeById(id: string): TreeNode { - const node = this.treeComponent.getNodeById(id); - return node; + return this.treeComponent.getNodeById(id); } resize(): void {