mirror of
https://github.com/stack-auth/stack.git
synced 2026-06-04 21:04:37 +08:00
Apply suggestion from @coderabbitai[bot]
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
This commit is contained in:
parent
03aed0e9ce
commit
08521c00eb
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user