Skip to content

Commit 8b746f8

Browse files
committed
Update ControlPlaneView.tsx
1 parent 9c5df0d commit 8b746f8

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

src/views/ControlPlanes/ControlPlaneView.tsx

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -28,29 +28,21 @@ import ComponentList from '../../components/ControlPlane/ComponentList.tsx';
2828
import MCPHealthPopoverButton from '../../components/ControlPlane/MCPHealthPopoverButton.tsx';
2929
import useResource from '../../lib/api/useApiResource';
3030

31-
import { YamlViewButton } from '../../components/Yaml/YamlViewButton.tsx';
3231
import { YamlViewButtonWithLoader } from '../../components/Yaml/YamlViewButtonWithLoader.tsx';
3332

3433
export default function ControlPlaneView() {
3534
const { projectName, workspaceName, controlPlaneName, contextName } =
3635
useParams();
3736
const { t } = useTranslation();
3837

39-
console.log('contextName');
40-
console.log(contextName);
41-
console.log('controlPlaneName');
42-
console.log(controlPlaneName);
43-
console.log('projectName');
44-
console.log(projectName);
4538
const { data: mcp, error } = useResource(
4639
ControlPlaneResource(
4740
projectName ?? '',
4841
workspaceName ?? '',
4942
controlPlaneName ?? '',
5043
),
5144
);
52-
console.log('mcp');
53-
console.log(mcp);
45+
5446
if (!projectName || !workspaceName || !controlPlaneName) {
5547
return <></>;
5648
}

0 commit comments

Comments
 (0)