Skip to content

Commit 2f9afaa

Browse files
committed
MC-2333: UX Review
- Removed cast
1 parent ec13747 commit 2f9afaa

File tree

1 file changed

+2
-2
lines changed
  • app/code/Magento/PageBuilder/view/adminhtml/web/ts/js/content-type/block

1 file changed

+2
-2
lines changed

app/code/Magento/PageBuilder/view/adminhtml/web/ts/js/content-type/block/preview.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,8 @@ export default class Preview extends BasePreview {
115115
this.placeholderText(response.data.error);
116116
}
117117

118-
this.lastBlockId = <number>data.block_id;
119-
this.lastTemplate = <string>data.template;
118+
this.lastBlockId = data.block_id;
119+
this.lastTemplate = data.template;
120120
this.lastRenderedHtml = response.data.content;
121121
})
122122
.fail(() => {

0 commit comments

Comments
 (0)