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.

387 B
Raw Blame
import { useServerConfigStore } from '@/store/serverConfig';
import { shouldMountDevDock, useDevDockUnlocked } from '@/utils/devDockUnlock';

export const useDevDockMounted = () => {
  const canAccess = useServerConfigStore((s) => s.canAccessDevDock);
  const unlocked = useDevDockUnlocked();

  return shouldMountDevDock({ canAccess, isProduction: import.meta.env.PROD, unlocked });
};