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.

308 B
Raw Blame
import { isDesktop } from '@/const/version';
import { useMacTrafficLightPadding } from '@/features/Electron/titlebar/useMacTrafficLightPadding';

const useDesktopInset = () => useMacTrafficLightPadding();
const useNoInset = () => 0;

export const useTitleBarInset = isDesktop ? useDesktopInset : useNoInset;