diff --git a/src/components/DeviceMemoryHealth.tsx b/src/components/DeviceMemoryHealth.tsx index c1cd0f22..cbc410ed 100644 --- a/src/components/DeviceMemoryHealth.tsx +++ b/src/components/DeviceMemoryHealth.tsx @@ -12,7 +12,7 @@ type ChartData = { id: string color: string data: DataPoint[] - maxMemory?: number + maxValue?: number } type DeviceMemoryProps = { @@ -28,7 +28,7 @@ const DeviceMemory = ({ currentMemory, maxMemory }: DeviceMemoryProps) => { x: index + 1, y: yValue, })), - maxMemory: maxMemory, + maxValue: maxMemory, }, ] const currentLoad = diff --git a/src/components/LandingPage.tsx b/src/components/LandingPage.tsx index d6bc3dc6..19003acf 100644 --- a/src/components/LandingPage.tsx +++ b/src/components/LandingPage.tsx @@ -1,6 +1,7 @@ import LayoutComponent from './LayoutComponent' import './LandingPage.css' import QuickStartBar from './QuickStartBar' +import DeviceMemory from './DeviceMemoryHealth' function LandingPage() { return ( @@ -14,6 +15,7 @@ function LandingPage() { function Content() { return (