fix: missing dep

This commit is contained in:
Joel 2026-06-23 15:50:43 +08:00
parent 6c05219af8
commit 44a4fb8888

View File

@ -311,7 +311,7 @@ export function AgentKnowledgeRetrievalDialog({
isEditingName: false,
})
}
}, [hydrationKey])
}, [fallbackName, hydratedKey, hydrationKey, initialName, item])
useEffect(() => {
if (!isEditingName)