Updated profile page.

This commit is contained in:
Mike Cao 2024-02-04 23:55:14 -08:00
parent 6802093d69
commit 8bcea84409
4 changed files with 15 additions and 7 deletions

View file

@ -19,7 +19,7 @@ export function ProfileSettings() {
const { username, role } = user;
const renderRole = value => {
const renderRole = (value: string) => {
if (value === ROLES.user) {
return formatMessage(labels.user);
}