diff --git a/src/pages/HostSystemPage.tsx b/src/pages/HostSystemPage.tsx index 3a5c7ae..1849738 100644 --- a/src/pages/HostSystemPage.tsx +++ b/src/pages/HostSystemPage.tsx @@ -120,12 +120,12 @@ const HostSystemPage = () => { /> )) - }; + } const detectorsStats = () => { if (!data?.detectors) return null - Object.entries(data.detectors).map(([name, stats]) => { + return Object.entries(data.detectors).map(([name, stats]) => { const pid = stats.pid const cpu = data.cpu_usages ? data.cpu_usages[pid]?.cpu : '0' const mem = data.cpu_usages ? data.cpu_usages[pid]?.mem : '0'