Skip to content

Commit

Permalink
Merge pull request lichess-org#16569 from FawzyAshraf/master
Browse files Browse the repository at this point in the history
Remove 'null' from lobby when the user is not logged in
  • Loading branch information
ornicar authored Dec 11, 2024
2 parents f0cd00a + e379d69 commit 23fbeb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/lobby/src/lobby.inline.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ function layout() {
cols = newCols;
document
.querySelector<HTMLElement>(cols > 2 ? '.lobby__side' : '.lobby')
?.append(document.querySelector('.lobby__timeline')!);
?.append(document.querySelector('.lobby__timeline') ?? '');
}

layout();
Expand Down

0 comments on commit 23fbeb3

Please sign in to comment.