Skip to content

Commit

Permalink
a
Browse files Browse the repository at this point in the history
  • Loading branch information
macwilko committed Dec 11, 2023
1 parent 79b68bf commit bea6c67
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions app/components/helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,13 @@ export function friendlyName(name, handle) {
if (!!name && name.length > 0) {
return name;
}

return handle ?? "Ghost";
}

export function avatarFallback(name) {

if (name.length == 0) {
return "";
}

return String.fromCodePoint(name.codePointAt(0)).toUpperCase();
}

Expand Down

0 comments on commit bea6c67

Please sign in to comment.