Skip to content

Commit e3d9308

Browse files
committed
xo: Fix unicorn/prefer-single-call.
Signed-off-by: Anders Kaseorg <[email protected]>
1 parent 098d35f commit e3d9308

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

app/renderer/js/main.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -511,8 +511,7 @@ export class ServerManagerView {
511511
}
512512

513513
$altIcon.textContent = realmName.charAt(0) || "Z";
514-
$altIcon.classList.add("server-icon");
515-
$altIcon.classList.add("alt-icon");
514+
$altIcon.classList.add("server-icon", "alt-icon");
516515

517516
$img.remove();
518517
$parent.append($altIcon);

0 commit comments

Comments
 (0)