Remove useless assignment

This commit is contained in:
Chocobozzz 2021-10-11 14:40:00 +02:00
parent 5773128647
commit 9fb2ed5f83
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 0 additions and 2 deletions

View File

@ -132,8 +132,6 @@ export class MarkdownTextareaComponent implements ControlValueAccessor, OnInit {
const result = await this.customMarkdownRenderer(text)
if (result instanceof HTMLElement) {
html = ''
const wrapperElement = this.previewElement.nativeElement as HTMLElement
wrapperElement.innerHTML = ''
wrapperElement.appendChild(result)