Skip to content

Commit 88306da

Browse files
author
colinmcneil
committed
Fix flashing no clients configured warning
1 parent efd338d commit 88306da

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/extension/ui/src/components/CatalogGrid.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export const CatalogGrid: React.FC<CatalogGridProps> = ({
5050
buttonsLoading,
5151
setButtonsLoading,
5252
updateMCPClientStates,
53-
isFetching: mcpFetching
53+
isLoading: mcpLoading
5454
} = useMCPClientContext();
5555

5656

@@ -109,7 +109,7 @@ export const CatalogGrid: React.FC<CatalogGridProps> = ({
109109
return <CircularProgress />
110110
}
111111

112-
const hasMCPConfigured = mcpFetching || Object.values(mcpClientStates || {}).some(state => state.exists && state.configured);
112+
const hasMCPConfigured = mcpLoading || Object.values(mcpClientStates || {}).some(state => state.exists && state.configured);
113113

114114
return (
115115
<Stack spacing={2} justifyContent='center' alignItems='center'>

0 commit comments

Comments
 (0)