5 lines
189 B
TypeScript
5 lines
189 B
TypeScript
export function bskyTitle(page: string, unreadCountLabel?: string) {
|
|
const unreadPrefix = unreadCountLabel ? `(${unreadCountLabel}) ` : ''
|
|
return `${unreadPrefix}${page} — Bluesky`
|
|
}
|