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.

257 B
Raw Blame
import { useUserMemoryStore } from '@/store/userMemory';

export const useFetchTopicMemories = (topicId?: string | null) => {
  const useFetchMemoriesForTopic = useUserMemoryStore((s) => s.useFetchMemoriesForTopic);

  useFetchMemoriesForTopic(topicId);
};