diff --git a/src/components/DeviceMemoryHealth.tsx b/src/components/DeviceMemoryHealth.tsx index b294f5a0..4797642b 100644 --- a/src/components/DeviceMemoryHealth.tsx +++ b/src/components/DeviceMemoryHealth.tsx @@ -75,7 +75,7 @@ const DeviceMemoryHealth = ({ currentMemory, maxMemory }: DeviceMemoryHealthProp {message === 'Poor' && ( - {((currentLoad / maxMemory) * 100).toFixed(0)}% Utilization + {((currentLoad / maxMemory || 0) * 100).toFixed(0)}% Utilization )}