Usernames: Fetch own username from /whoami not /profile

This commit is contained in:
Scott Nonnenberg 2021-12-15 12:02:55 -08:00 committed by GitHub
parent 70ae5bb613
commit a023fc1bb0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 43 additions and 26 deletions

View file

@ -617,6 +617,7 @@ export const ProfileEditor = ({
<Input
i18n={i18n}
disabled={isCurrentlySaving}
disableSpellcheck
onChange={changedUsername => {
setUsernameError(undefined);
setNewUsername(changedUsername);