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.

239 B
Raw Blame
import type { UpdateInfo } from '@lobechat/electron-client-ipc';

export const selectUpdateInfo = (current: UpdateInfo | null, incoming: UpdateInfo): UpdateInfo =>
  current?.kind === 'app' && incoming.kind !== 'app' ? current : incoming;