From bea6c67a56a4e6f24de9b0bcdbd303127e20a90d Mon Sep 17 00:00:00 2001 From: Matthew WIlkinson Date: Mon, 11 Dec 2023 11:15:54 +0000 Subject: [PATCH] a --- app/components/helpers.js | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/components/helpers.js b/app/components/helpers.js index aa3fdce..3c7c8bc 100644 --- a/app/components/helpers.js +++ b/app/components/helpers.js @@ -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(); }