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.

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

import { ensureElectronIpc } from '@/utils/electron/ipc';

class DesktopTrayService {
  updateNavigationSnapshot = async (snapshot: TrayNavigationSnapshot) => {
    return ensureElectronIpc().tray.updateNavigationSnapshot(snapshot);
  };
}

export const desktopTrayService = new DesktopTrayService();