Browse Source

Fixed note for users with a username below min lvl

master
Archie 1 month ago
parent
commit
ed0f408cd4
1 changed files with 3 additions and 3 deletions
  1. +3
    -3
      src/pages/me.js

+ 3
- 3
src/pages/me.js View File

@ -218,10 +218,10 @@ const Username = () => {
setError();
}}
note={
user.xp.level < config.minUsernameLevel
? `You need to be on level ${config.minUsernameLevel} to claim a username`
: user.username
user.username
? `Your username cannot be changed`
: user.xp.level < config.minUsernameLevel
? `You need to be on level ${config.minUsernameLevel} to claim a username`
: `Choose wisely! Your username cannot be changed.`
}
disabled={disabled}

Loading…
Cancel
Save