Tighten back up loose check

This commit is contained in:
Eric Bailey
2025-02-13 12:30:26 -06:00
parent d204c8cccc
commit 506f01862c
+1 -1
View File
@@ -581,7 +581,7 @@ function Footer({
function getName(item: bsky.profile.AnyProfileView | GeneratorView) {
if (typeof item.displayName === 'string') {
return enforceLen(sanitizeDisplayName(item.displayName), 28, true)
} else if ('handle' in item) {
} else if ('handle' in item && typeof item.handle === 'string') {
return enforceLen(sanitizeHandle(item.handle), 28, true)
}
return ''