Skip to content

Commit 3894345

Browse files
committed
fix: use correct transition type for marketplace refresh
1 parent 9619603 commit 3894345

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

webview-ui/src/components/marketplace/MarketplaceListView.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@ export function MarketplaceListView({ stateManager, allTags, filteredTags, filte
4747
onClose={() => setShowCustomMcpDialog(false)}
4848
onSuccess={() => {
4949
setShowCustomMcpDialog(false)
50-
// Optionally refresh the marketplace data
51-
manager.transition({ type: "REFRESH" })
50+
// Refresh the marketplace data to show the new custom MCP
51+
manager.transition({ type: "FETCH_ITEMS" })
5252
}}
5353
/>
5454
)}

0 commit comments

Comments
 (0)