message: Removed loaded prop and nested component
diff: import * as React from 'react';
  import { Grid, GridItem } from '@patternfly/react-core';
  -import { LoadingBox, useAccessReview, asAccessReview } from '@console/internal/components/utils';
  +import { useAccessReview, asAccessReview } from '@console/internal/components/utils';
  import { observer } from '@patternfly/react-topology';
  import { VirtualMachineModel } from '../models';
  import { VMDetailsList, VMResourceSummary } from '../components/vms/vm-resource';
  @@ -13,23 +13,16 @@ type TopologyVmDetailsPanelProps = {
  vmNode: VMNode;
  };
  -type LoadedTopologyVmDetailsPanelProps = TopologyVmDetailsPanelProps & {
  - loaded?: boolean;
  -};
  -
  -const LoadedTopologyVmDetailsPanel: React.FC<LoadedTopologyVmDetailsPanelProps> = observer(
  - ({ loaded, vmNode }) => {
  +export const TopologyVmDetailsPanel: React.FC<TopologyVmDetailsPanelProps> = observer(
  + ({ vmNode }) => {
  const vmData = vmNode.getData();
  const vmObj = vmData.resource as VMKind;
  const { podData: { pods = [] } = {} } = usePodsForVm(vmObj);
  const { vmi, vmStatusBundle } = vmData.data;
  const canUpdate =
  useAccessReview(asAccessReview(VirtualMachineModel, vmObj || {}, 'patch')) && !!vmObj;
  -
  - if (!loaded) {
  - return <LoadingBox />;
  - }
  return (
  + <div className="overview__sidebar-pane-body resource-overview__body">
  <Grid hasGutter>
  <GridItem span={6}>
  <VMResourceSummary
  @@ -50,14 +43,7 @@ const LoadedTopologyVmDetailsPanel: React.FC<LoadedTopologyVmDetailsPanelProps>
  />
  </GridItem>
  </Grid>
  + </div>
  );
  },
  );
  -
  -export const TopologyVmDetailsPanel: React.FC<TopologyVmDetailsPanelProps> = observer(
  - ({ vmNode }: TopologyVmDetailsPanelProps) => (
  - <div className="overview__sidebar-pane-body resource-overview__body">
  - <LoadedTopologyVmDetailsPanel vmNode={vmNode} />
  - </div>
  - ),
  -);
  