diff --git a/src/resources/createResourceRoutes.js b/src/resources/createResourceRoutes.js index 2f1b975f49..9c1052751c 100644 --- a/src/resources/createResourceRoutes.js +++ b/src/resources/createResourceRoutes.js @@ -136,16 +136,13 @@ const ColumnWrapper = ({ detailsMidColumn = detailsComponent; } - const { schema, loading } = useGetSchema({ + const { schema } = useGetSchema({ resource: { group: props?.apiGroup, version: props.apiVersion, kind: props?.resourceType.slice(0, -1), }, }); - if (loading) { - return null; - } const createMidColumn = ( +