refactor: Remove redundant access to the array
This commit is contained in:
@@ -148,11 +148,7 @@ import ServerConnections from '../ServerConnections';
|
||||
|
||||
elem.classList.add('listItemBodyText');
|
||||
|
||||
if (textlines[i]) {
|
||||
elem.innerText = textlines[i];
|
||||
} else {
|
||||
elem.innerHTML = ' ';
|
||||
}
|
||||
elem.innerText = text;
|
||||
|
||||
html += elem.outerHTML;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user