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.

🐛 fix(portal): pass a MigrationTarget to useTopicMigrationPending (#18116)

Rdmclin2ae0f27a74df6
diff --git a/src/features/Portal/Topic/Chat/index.tsx b/src/features/Portal/Topic/Chat/index.tsx
index f688a8464b6..b942f711bce 100644
--- a/src/features/Portal/Topic/Chat/index.tsx
+++ b/src/features/Portal/Topic/Chat/index.tsx
@@ -81,7 +81,7 @@ const TopicChat = memo(() => {
// backfill shows a placeholder instead of an empty history and blocks
// sending — the server could not assemble the missing context anyway.
const { job: migrationJob, topicPending } = useTopicMigrationPending(
- activeAgentId,
+ { agentId: activeAgentId },
portalTopicId,
);