Skip to content

Commit b15f292

Browse files
committed
Update YamlSidePanelWithLoader.tsx
1 parent 7b156ca commit b15f292

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/components/Yaml/YamlSidePanelWithLoader.tsx

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,15 +34,6 @@ export function YamlSidePanelWithLoader({
3434
null,
3535
);
3636

37-
// Load custom resource definition for the resource
38-
const { data: crdData } = useApiResource<CustomResourceDefinition>(
39-
CustomResourceDefinitionObject(resourceType),
40-
undefined,
41-
null,
42-
);
43-
44-
console.log('Custom Resource Definition:', crdData);
45-
4637
if (isLoading) return <Loading />;
4738
if (error) return <IllustratedError details={t('common.cannotLoadData')} />;
4839

0 commit comments

Comments
 (0)