From 4886479cd436c0fc20fac00d1332383f254a1a5a Mon Sep 17 00:00:00 2001 From: spatiumstas <79056064+spatiumstas@users.noreply.github.com> Date: Tue, 13 Oct 2026 14:20:45 +0300 Subject: [PATCH] fix(site): preserve lazy loading of the systemd table (#2602) --- internal/site/src/components/routes/system.tsx | 2 +- internal/site/src/components/routes/system/lazy-tables.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/site/src/components/routes/system.tsx b/internal/site/src/components/routes/system.tsx index 8c9596767..3565bf200 100644 --- a/internal/site/src/components/routes/system.tsx +++ b/internal/site/src/components/routes/system.tsx @@ -21,11 +21,11 @@ import { LazySmartTable, LazySystemdTable, LazyZfsTable, + SystemdTable, } from "./system/lazy-tables" import { LoadAverageChart } from "./system/charts/load-average-chart" import { ContainerIcon, CpuIcon, HardDriveIcon, NetworkIcon, PackageIcon, TerminalSquareIcon } from "lucide-react" import { GpuIcon } from "../ui/icons" -import SystemdTable from "../systemd-table/systemd-table" import ContainersTable from "../containers-table/containers-table" const SEMVER_0_14_0 = parseSemVer("0.14.0") diff --git a/internal/site/src/components/routes/system/lazy-tables.tsx b/internal/site/src/components/routes/system/lazy-tables.tsx index 1dde0ceee..96f843f7c 100644 --- a/internal/site/src/components/routes/system/lazy-tables.tsx +++ b/internal/site/src/components/routes/system/lazy-tables.tsx @@ -36,7 +36,7 @@ export function LazyZfsTable({ systemId }: { systemId: string }) { ) } -const SystemdTable = lazy(() => import("../../systemd-table/systemd-table")) +export const SystemdTable = lazy(() => import("../../systemd-table/systemd-table")) export function LazySystemdTable({ systemId }: { systemId: string }) { const { isIntersecting, ref } = useIntersectionObserver()