Remove useless assignment
This commit is contained in:
parent
5773128647
commit
9fb2ed5f83
1 changed files with 0 additions and 2 deletions
|
@ -132,8 +132,6 @@ export class MarkdownTextareaComponent implements ControlValueAccessor, OnInit {
|
||||||
const result = await this.customMarkdownRenderer(text)
|
const result = await this.customMarkdownRenderer(text)
|
||||||
|
|
||||||
if (result instanceof HTMLElement) {
|
if (result instanceof HTMLElement) {
|
||||||
html = ''
|
|
||||||
|
|
||||||
const wrapperElement = this.previewElement.nativeElement as HTMLElement
|
const wrapperElement = this.previewElement.nativeElement as HTMLElement
|
||||||
wrapperElement.innerHTML = ''
|
wrapperElement.innerHTML = ''
|
||||||
wrapperElement.appendChild(result)
|
wrapperElement.appendChild(result)
|
||||||
|
|
Loading…
Reference in a new issue