From e4b5e734be041cce228419d13210771ee4a6be0a Mon Sep 17 00:00:00 2001 From: Gordon Smith Date: Mon, 16 Sep 2024 14:39:37 +0100 Subject: [PATCH] HPCC-32641 Metrics occasionally shows a blank page Removed lazy loading of metrics page. Signed-off-by: Gordon Smith --- esp/src/src-react/components/WorkunitDetails.tsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/esp/src/src-react/components/WorkunitDetails.tsx b/esp/src/src-react/components/WorkunitDetails.tsx index 8e595bf7b16..f30bbf974ae 100644 --- a/esp/src/src-react/components/WorkunitDetails.tsx +++ b/esp/src/src-react/components/WorkunitDetails.tsx @@ -27,8 +27,7 @@ import { Workflows } from "./Workflows"; import { WorkunitSummary } from "./WorkunitSummary"; import { TabInfo, DelayLoadedPanel, OverflowTabList } from "./controls/TabbedPanes/index"; import { ECLArchive } from "./ECLArchive"; - -const Metrics = React.lazy(() => import("./Metrics").then(mod => ({ default: mod.Metrics }))); +import { Metrics } from "./Metrics"; const logger = scopedLogger("src-react/components/WorkunitDetails.tsx");