Apply suggestion from @coderabbitai[bot]

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
aadesh18 2026-05-27 16:28:40 -07:00 committed by GitHub
parent 03aed0e9ce
commit 08521c00eb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -948,7 +948,7 @@ function createOverviewTab(app: StackClientApp<true>): TabResult {
}
userName.textContent = currentUser.isAnonymous
? 'Anonymous'
: (currentUser.displayName || 'Welcome back');
: (currentUser.displayName ?? 'Welcome back');
userEmail.textContent = currentUser.primaryEmail || 'No email';
authIndicator.style.display = '';
} else {