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.

513 B
Raw Blame
import type { LoaderFunctionArgs } from 'react-router';

// The route tables sit in the entry chunk's static graph; resolving the real
// loader on first use keeps the userMemory store in the activities route's lazy
// chunks. The loader arguments carry the request, so the pre-hydrate can
// target the query the URL encodes.
export const activityListLoader = (args: LoaderFunctionArgs) =>
  import('@/routes/(main)/memory/activities/activitiesLoader').then((module) =>
    module.activityListLoader(args),
  );