fix: use correct transition type for marketplace refresh

This commit is contained in:
Roo Code 2025-09-17 07:52:15 +00:00
parent 9619603b1c
commit 38943459e6

View file

@ -47,8 +47,8 @@ export function MarketplaceListView({ stateManager, allTags, filteredTags, filte
onClose={() => setShowCustomMcpDialog(false)}
onSuccess={() => {
setShowCustomMcpDialog(false)
// Optionally refresh the marketplace data
manager.transition({ type: "REFRESH" })
// Refresh the marketplace data to show the new custom MCP
manager.transition({ type: "FETCH_ITEMS" })
}}
/>
)}