File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ import { ProvidersConfig } from '../../../components/ControlPlane/ProvidersConfi
1717import { Providers } from '../../../components/ControlPlane/Providers.tsx' ;
1818import ComponentList from '../../../components/ControlPlane/ComponentList.tsx' ;
1919import MCPHealthPopoverButton from '../../../components/ControlPlane/MCPHealthPopoverButton.tsx' ;
20- import useResource from '../../../lib/api/useApiResource.ts' ;
20+ import { useApiResource } from '../../../lib/api/useApiResource.ts' ;
2121
2222import { YamlViewButtonWithLoader } from '../../../components/Yaml/YamlViewButtonWithLoader.tsx' ;
2323import { Landscapers } from '../../../components/ControlPlane/Landscapers.tsx' ;
@@ -33,7 +33,7 @@ export default function McpPage() {
3333 data : mcp ,
3434 error,
3535 isLoading,
36- } = useResource ( ControlPlaneResource ( projectName , workspaceName , controlPlaneName ) ) ;
36+ } = useApiResource ( ControlPlaneResource ( projectName , workspaceName , controlPlaneName ) ) ;
3737
3838 if ( isLoading ) {
3939 return < BusyIndicator active /> ;
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import ControlPlaneListAllWorkspaces from '../../../components/ControlPlanes/Lis
55import IntelligentBreadcrumbs from '../../../components/Core/IntelligentBreadcrumbs.tsx' ;
66import { ControlPlaneListToolbar } from '../../../components/ControlPlanes/List/ControlPlaneListToolbar.tsx' ;
77import { Trans , useTranslation } from 'react-i18next' ;
8- import useApiResource from '../../../lib/api/useApiResource.ts' ;
8+ import { useApiResource } from '../../../lib/api/useApiResource.ts' ;
99import { ListWorkspaces } from '../../../lib/api/types/crate/listWorkspaces.ts' ;
1010import Loading from '../../../components/Shared/Loading.tsx' ;
1111import { isNotFoundError } from '../../../lib/api/error.ts' ;
You can’t perform that action at this time.
0 commit comments