Skip to content

Commit fbb4896

Browse files
authored
Update creating-custom-views-for-blocklist.md
Wrong import in code example for block element
1 parent 2832d4e commit fbb4896

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

15/umbraco-cms/tutorials/creating-custom-views-for-blocklist.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,8 @@ We need to update the `example-block-custom-view.ts` file with the following con
190190
```typescript
191191
import { html, customElement, LitElement, property, css } from '@umbraco-cms/backoffice/external/lit';
192192
import { UmbElementMixin } from '@umbraco-cms/backoffice/element-api';
193-
import type { UmbBlockDataType, UmbBlockEditorCustomViewElement } from '@umbraco-cms/backoffice/extension-registry';
193+
import type { UmbBlockEditorCustomViewElement } from '@umbraco-cms/backoffice/block-custom-view';
194+
import type { UmbBlockDataType } from '@umbraco-cms/backoffice/block';
194195

195196
@customElement('example-block-custom-view')
196197
export class ExampleBlockCustomView extends UmbElementMixin(LitElement) implements UmbBlockEditorCustomViewElement {

0 commit comments

Comments
 (0)