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.

494 B
Raw Blame
'use client';

import { type FC } from 'react';
import { Outlet } from 'react-router';

import { AgentNotFoundGuard } from '@/features/AgentNotFound';

import MobilePageLayout from './PageLayout';

/** Full-screen agent sub-pages (profile, docs, …) with the agent 404 fallback. */
const MobileAgentPagesLayout: FC = () => (
  <MobilePageLayout>
    <AgentNotFoundGuard showAgentList>
      <Outlet />
    </AgentNotFoundGuard>
  </MobilePageLayout>
);

export default MobileAgentPagesLayout;