From 58ac92c2669f381fa23192dc7908a8cc08b87499 Mon Sep 17 00:00:00 2001 From: Georgii Karataev Date: Fri, 24 Nov 2023 11:30:23 +0100 Subject: [PATCH] fix: Center spinner, console error --- src/routes/InventoryOrEdgeGroupDetailsComponent.js | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/routes/InventoryOrEdgeGroupDetailsComponent.js b/src/routes/InventoryOrEdgeGroupDetailsComponent.js index a33c7c146..243421584 100644 --- a/src/routes/InventoryOrEdgeGroupDetailsComponent.js +++ b/src/routes/InventoryOrEdgeGroupDetailsComponent.js @@ -4,7 +4,7 @@ import { inventoryHasEdgeSystems } from '../Utilities/edge'; import useEdgeGroups from '../Utilities/hooks/useEdgeGroups'; import useFeatureFlag from '../Utilities/useFeatureFlag'; import PropTypes from 'prop-types'; -import { Spinner } from '@patternfly/react-core'; +import { Bullseye, Spinner } from '@patternfly/react-core'; import EdgeGroupsDetailsView from '../components/InventoryGroupDetail/EdgeGroupDetails'; import InventoryGroupDetail from './InventoryGroupDetail'; @@ -27,7 +27,7 @@ const InventoryOrEdgeGroupDetailsView = () => { } })(); } catch (e) { - console.log(e); + console.error(e); } }, []); @@ -42,7 +42,11 @@ const InventoryOrEdgeGroupDetailsView = () => { /> ); } else { - return ; + return ( + + + + ); } };