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.

221 B
Raw Blame
import { useChatStore } from '@/store/chat';

export const useFetchThreads = (activeTopicId?: string) => {
  const [useFetchThreads] = useChatStore((s) => [s.useFetchThreads]);

  useFetchThreads(true, activeTopicId);
};