Skip to content

Commit

Permalink
Adapt import in tree template to fixed typo
Browse files Browse the repository at this point in the history
A used method from the tree editor framework used in the tree template had a typo.
This was fixed now in the latest version on npm that we pull in on install.

Signed-off-by: Lucas Koehler <lkoehler@eclipsesource.com>
  • Loading branch information
lucas-koehler committed Feb 12, 2021
1 parent 4f4361f commit 599a85c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/tree-editor/tree-frontend-module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { CommandContribution, MenuContribution } from '@theia/core';
import { LabelProviderContribution, NavigatableWidgetOptions, OpenHandler, WidgetFactory } from '@theia/core/lib/browser';
import URI from '@theia/core/lib/common/uri';
import { ContainerModule } from 'inversify';
import { createBasicTreeContainter, NavigatableTreeEditorOptions } from '@eclipse-emfcloud/theia-tree-editor';
import { createBasicTreeContainer, NavigatableTreeEditorOptions } from '@eclipse-emfcloud/theia-tree-editor';

import { TreeContribution } from './tree-contribution';
import { TreeModelService } from './tree/tree-model-service';
Expand Down Expand Up @@ -38,7 +38,7 @@ export default new ContainerModule(bind => {
id: TreeEditorWidget.WIDGET_ID,
createWidget: (options: NavigatableWidgetOptions) => {

const treeContainer = createBasicTreeContainter(
const treeContainer = createBasicTreeContainer(
context.container,
TreeEditorWidget,
TreeModelService,
Expand Down

0 comments on commit 599a85c

Please sign in to comment.