🤯 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
'use client';
import { memo, type PropsWithChildren } from 'react';
import NotFound from '@/components/404';
import { useAuthServerConfigStore } from '@/features/AuthShell/AuthServerConfigProvider';
const OAuthGuard = memo<PropsWithChildren>(({ children }) => {
const enableOIDC = useAuthServerConfigStore((s) => s.enableOIDC);
if (!enableOIDC) return <NotFound />;
return children;
});
OAuthGuard.displayName = 'OAuthGuard';
export default OAuthGuard;