Some PNP fixes

This commit is contained in:
Fedor Indutny 2024-02-16 14:01:06 -08:00 committed by GitHub
parent 41e44a8787
commit 499ee6c956
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 17 additions and 13 deletions

View file

@ -621,6 +621,8 @@ export function ProfileEditor({
}
label={i18n('icu:ProfileEditor__username-link')}
onClick={() => {
markCompletedUsernameLinkOnboarding();
if (usernameLinkCorrupted) {
setIsResettingUsernameLink(true);
return;
@ -633,7 +635,7 @@ export function ProfileEditor({
/>
);
if (!hasCompletedUsernameLinkOnboarding) {
if (!hasCompletedUsernameLinkOnboarding && !usernameLink) {
maybeUsernameLinkRow = (
<UsernameLinkTooltip
handleClose={markCompletedUsernameLinkOnboarding}