fix: typos
This commit is contained in:
parent
ef9b70410b
commit
ebdb21d38f
3 changed files with 3 additions and 3 deletions
|
@ -13,7 +13,7 @@ export const useProfile = () => {
|
|||
|
||||
function getDisplayName (profile: UserResponse | GuildMemberResponse): string {
|
||||
if ("username" in profile) {
|
||||
// assume it's a UserRespone
|
||||
// assume it's a UserResponse
|
||||
if (profile.display_name) return profile.display_name
|
||||
return profile.username
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue