Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

378 B
Raw Blame
export interface ShareNotFoundCopy {
  desc: string;
  title: string;
}

/**
 * What a missing share is called. The topic wording is the default; a share
 * page of another kind (a file) names its own subject.
 */
export const resolveShareNotFoundCopy = (
  pageCopy: ShareNotFoundCopy | undefined,
  topicCopy: ShareNotFoundCopy,
): ShareNotFoundCopy => pageCopy ?? topicCopy;