fix(site): preserve lazy loading of the systemd table (#2602)

This commit is contained in:
spatiumstas
2026-10-13 07:20:45 -04:00
committed by GitHub
parent bb23f99b3e
commit 4886479cd4
2 changed files with 2 additions and 2 deletions
@@ -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")
@@ -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()