🤯 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.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
import { useGlobalStore } from '@/store/global';
import { featureFlagsSelectors, useServerConfigStore } from '@/store/serverConfig';
export const useNewVersion = () => {
const [hasNewVersion, useCheckLatestVersion] = useGlobalStore((s) => [
s.hasNewVersion,
s.useCheckLatestVersion,
]);
const { enableCheckUpdates } = useServerConfigStore(featureFlagsSelectors);
useCheckLatestVersion(enableCheckUpdates);
return hasNewVersion;
};