diff --git a/client/src/components/design-elements/BasePage.tsx b/client/src/components/design-elements/BasePage.tsx
index 6c9ffe1df..cebe801b3 100644
--- a/client/src/components/design-elements/BasePage.tsx
+++ b/client/src/components/design-elements/BasePage.tsx
@@ -1,6 +1,7 @@
import Stack from "@mui/material/Stack";
import { ErrorFallback, EmptyFallback, EmptyMonitorFallback } from "./Fallback";
import { Breadcrumb } from "./Breadcrumb";
+import CircularProgress from "@mui/material/CircularProgress";
import type { StackProps } from "@mui/material/Stack";
import { useTheme } from "@mui/material/styles";
@@ -49,7 +50,15 @@ export const BasePageWithStates = ({
const showLoading = loading && (!items || items.length === 0);
if (showLoading) {
- return null;
+ return (
+
+
+
+ );
}
if (error) {
@@ -106,7 +115,15 @@ export const MonitorBasePageWithStates = ({
const showLoading = loading && (!items || items.length === 0);
if (showLoading) {
- return null;
+ return (
+
+
+
+ );
}
if (error) {
diff --git a/client/src/components/layouts/RootLayout.tsx b/client/src/components/layouts/RootLayout.tsx
index 7a58292cc..47a835164 100644
--- a/client/src/components/layouts/RootLayout.tsx
+++ b/client/src/components/layouts/RootLayout.tsx
@@ -23,7 +23,7 @@ const RootLayout = () => {
alignItems: "center",
}}
>
-
+