Bluesky app fork with some witchin' additions 馃挮
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at 226b19ae4327bbd4621e2eb25470b02df1e5e933 10 lines 344 B view raw
1import {sanitizeDisplayName} from '#/lib/strings/display-names' 2import {sanitizeHandle} from '#/lib/strings/handles' 3 4export function getUserDisplayName< 5 T extends {displayName?: string; handle: string; [key: string]: any}, 6>(props: T): string { 7 return sanitizeDisplayName( 8 props.displayName || sanitizeHandle(props.handle, '@'), 9 ) 10}